Commit Graph
5904 Commits
Author SHA1 Message Date
galsuchetzky-act 61be3048e7 refactor(bedrock): share model profile reachability checks (#9046)
* refactor(bedrock): share model profile reachability checks
2026-11-19 19:33:18 -04:00
Andre Kurait 875794c538 fix(iam): select EC2 interface and endpoint authorization resources (#8892)
* fix(iam): select EC2 interface and endpoint authorization resources
2026-11-19 19:24:56 -04:00
Kenshin Okinaka c91740de85 fix(ses): check a template's tags before its name and content (#9041)
CreateEmailTemplate validated the tags last, after the template name
and content. SES checks them first, as probed on us-west-2: the tag
count, character set, lengths, an empty key and duplicate keys are all
refused ahead of a blank name or a missing subject or part.

The reserved aws: key prefix is the exception. SES refuses it after
the name and the content, before it looks the name up, and words it
"Invalid tags" on this operation.
2026-11-19 19:24:53 -04:00
Ignas f08cc57437 fix(elbv2): omit HTTP-only fields from TCP target groups (#9030) 2026-11-19 19:20:35 -04:00
rajp33 9f959a3f27 feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions (#8945)
* feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions
* fix(iot): keep omitted V2 logging options and require role and level on first set
* fix(iot): validate SetV2LoggingOptions log level and member types
* fix(iot): answer SetV2LoggingOptions with an empty body
* test(iot): cover V2 logging setup, updates, errors and account scoping in the SDK suite
* test(iot): sign V2 logging requests with the shared EnforcementFixtures.auth helper
* test(iot): cover V2 logging persistence and document eventConfigurations and verbose limits
* docs(iot): count the V2 logging routes in the service matrix
* fix(iot): reject a SetV2LoggingOptions body that is not a JSON object
* fix(iot): reject a blank roleArn in SetV2LoggingOptions
* fix(iot): serialize the SetV2LoggingOptions read-merge-write
* test(iot): share one IoT client builder in the SDK fixtures
* fix(iot): stop refusing a blank roleArn in SetV2LoggingOptions
* fix(iot): build the V2 log level refusal with SmithyValidationErrors
* refactor(iot): share IoT request body readers between logging and fleet indexing
2026-11-19 19:14:50 -04:00
Jeremy Chapeau b8632351e8 fix(sts): let a same-account trust policy that names a user grant AssumeRole (#8918)
A role's trust policy now reaches IAM enforcement through a
ResourcePolicyProvider, the path every other resource-based policy
takes, instead of a branch on sts:AssumeRole in the enforcement filter.
RoleTrustPolicyProvider answers an STS action on a role ARN with the
role's stored trust policy, each statement that names no Resource given
the role's ARN, and with the account in the role's ARN as its owner.
IAM actions on the role, such as iam:GetRole and iam:PassRole, get
nothing from it.

evaluateResourcePolicyFor already returns ALLOW_DIRECT_IAM_USER for an
Allow naming the caller's user ARN, so a same-account grant to a user
is unchanged, and AssumeRolePolicyEvaluator.grantsToIamUser and its
request-key helper are removed. Within the role's account, an Allow
naming a role session's role, or "*", now grants the call too, as any
same-account resource-based policy does. Across accounts the filter
needs the trust policy's Allow beside the caller's identity policy, so
it refuses an IAM user or a role session the trust policy does not
allow before STS does, with its own AccessDenied message;
AssumeRoleTrustConditionsIntegrationTest checks that message for those
callers.

The STS guide's sentence that the caller's identity policy must allow
sts:AssumeRole now names the same-account exception.
2026-11-19 19:10:54 -04:00
David Acevedo 3aba098ee8 feat(lambda): add a process executor for provided runtimes (#9006) 2026-11-19 19:07:32 -04:00
Hector Ventura 3205a62cf7 chore(ci): prune only main's superseded Maven caches (#8994)
The prune job added in #8956 listed maven-Linux- caches across every ref, so a cache another ref saved under the current pom's key could pass its guard and let it delete main's older entries while main's own current one was missing. It now lists and checks only refs/heads/main. No other ref saves that key today, since the save runs only on a push to main, but the guard no longer depends on it.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-19 17:07:16 -06:00
Hector Ventura 3bf5e2a5f9 chore(ci): check the amd64 native image after each Nightly, not on every pull request (#8959)
* chore(ci): check the amd64 native image after each Nightly, not on every pull request

compatibility.yml built the amd64 native image on every pull request (7 to 9 minutes in the last five green runs) to run one 2-minute suite, sdk-test-python, whose Firehose compression delivery test needs the x86_64 snappy JNI library. Pull requests now build and test arm64 only. compat-partitions.yml, which already runs after each Nightly against the published floci/floci:nightly image, gains an amd64 sdk-test-python job in the commercial partition, so the amd64 half of the multi-arch image is still checked once a day, against the image users pull.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* chore(ci): keep the amd64 job's test results, and skip it on a single-region dispatch

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-19 17:06:52 -06:00
Oleksandr Nikolaichuk 99a13cf067 test(cloudformation): hold every resource type to the engine's property changes or an exempt row (#8988) 2026-11-19 18:53:42 -04:00
Niels Kootstra a25c0435ee fix(ec2): list the DynamoDB gateway endpoint service in DescribeVpcEndpointServices (#9016)
* fix(ec2): list the DynamoDB gateway endpoint service in DescribeVpcEndpointServices
2026-11-19 18:44:04 -04:00
Ignas b6af0646d5 fix(rds): advertise the configured endpoint host on DB proxies (#9024) 2026-11-19 18:42:05 -04:00
Kenshin Okinaka b8a74a2a67 refactor(ses): share the name length and character checks (#9034)
Template, configuration set, event destination, tenant and metric
dimension names each carried their own copy of the 64-character limit,
the [A-Za-z0-9_-]+ pattern and the sentence that quotes a refused name.
SesNames now holds the limit, the pattern and the two checks; each
caller passes its error code and wording and keeps its own blank check
and its own order of the two.

Contact list, topic and policy names, which have their own sentences,
ask SesNames's predicates in place of two more copies of the pattern.

No behaviour change.
2026-11-19 18:41:43 -04:00
Matheus Oliveira dca36665b5 fix(ecs): emit empty arrays for empty mountPoints and volumesFrom (#9015)
* fix(ecs): emit empty arrays for empty mountPoints and volumesFrom
* test(ecs): an omitted volumesFrom reads back as [] too
2026-11-19 18:37:38 -04:00
galsuchetzky-act c1e7b240ea fix(lambda): keep MicroVM version update timestamps independent (#9021)
Each MicroVM image version now keeps its own updatedAt instead of
reporting the parent image's. Building another version leaves older
versions' timestamps alone, and a status update advances only the
version it changes. A stored version without the field reports its own
createdAt, including after a restart, and reading it does not rewrite
storage.

Closes #8616
2026-11-19 18:32:56 -04:00
mrfelek a283c7a49b fix(ec2): honour DryRun on the VPC, subnet, internet gateway and route table calls (#9018)
* fix(ec2): honour DryRun on the VPC, subnet, internet gateway and route table calls
2026-11-19 18:30:09 -04:00
galsuchetzky-act 683cb84080 fix(bedrock): report inference profile support in model metadata (#9020)
Derive INFERENCE_PROFILE support from existing system profile routes
while preserving regional ON_DEMAND support and request-filter
validation. Cover Get and List metadata through raw SDK strings,
including profile-only and unavailable regions.

Closes #8450
2026-11-19 18:26:50 -04:00
Joaquín Gamboa 1ffa5ed2c9 fix(cloudformation): pass a distribution's ViewerCertificate through (#8952)
* fix(cloudformation): pass a distribution's ViewerCertificate through
* fix(cloudformation): delete a replaced ACM certificate in the update cleanup
2026-11-19 18:26:08 -04:00
Ignas 82ac1eabaa fix(apigatewayv2): map $request.path to the request path without the stage (#8993)
AWS documents $request.path and ${request.path} as an HTTP API mapping
source that yields the request path without the stage name. The AWS
service integration validator accepted only $request.path.<name>, so
CreateIntegration rejected it, and ContextValueResolver had no case for
it, so it resolved to nothing. The resolver now returns
RequestContext.path(), which already excludes the stage, and the
validator accepts the bare source.

Closes #8991
2026-11-19 17:43:41 -04:00
Jackson Price ade40d7940 test(codeartifact): share npm transport mock helpers (#9019)
Extract the client construction and the mocked HttpClient.send call into
two private helpers, clientWithTransport and anySend, used by the six npm
transport tests. Each case now states its response or exception and its
expected send count without repeating the transport matchers.
2026-11-19 17:27:27 -04:00
Jeremy Chapeau 3a9f529158 fix(sts): give AssumeRole's identity-based policies the sts:RoleSessionName and sts:ExternalId keys (#8922)
With IAM enforcement on, the caller's identity-based policy, permissions boundary, session
policy and SCPs were evaluated for sts:AssumeRole without the request's sts:RoleSessionName
and sts:ExternalId, which the role's trust policy already sees, so a condition on either never
matched. The Service Authorization Reference lists both among the condition keys of
AssumeRole. STS now joins the generated request condition key table, which reads them from the
AssumeRole form; an AssumeRole without ExternalId names no sts:ExternalId. AssumeRoleWithSAML
carries no session name member, so it is listed as not reading it from the request.

sts:SourceIdentity, sts:TransitiveTagKeys and the session tag keys are not read: Floci does not
model source identity or session tags, as the STS page already says.

Closes #8921
2026-11-19 17:17:17 -04:00
Jackson PriceandAndre Kurait 76f9481bb1 fix(codeartifact): retry npm GET transport failures once (#9010)
* fix(codeartifact): retry npm GET transport failures once

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 13:50:41 -04:00
Niels Kootstra 9f0390b340 test(cloudformation): build the ElastiCache stack tests' clients through AwsTestClients (#9007)
* test(cloudformation): build the ElastiCache stack tests' clients through AwsTestClients
2026-11-19 13:36:33 -04:00
Murtuza Chhil 09125016fe feat(paymentcryptography): the modes and the keyed hash the reference names (#8984) 2026-11-19 13:33:35 -04:00
Priamo Germosen 66dbdd2935 fix(iam): check Aurora DSQL requests on the clusters they name, from the generated table (#9011)
Aurora DSQL was built by hand: ResourceArnBuilder read a cluster or
stream from its path, or a tagging route's ARN, IamEnforcementFilter
sent DSQL requests there without their operation, the request resources
table held no DSQL operation, and nothing gave a policy condition a
cluster's tags. dsql moves from HAND_BUILT to NAMESPACES, so the table
gives each operation the cluster or stream its path names, or the ARN
its modeled /tags/{resourceArn} carries, from botocore's REST model;
ListClusters, for which the Service Reference lists no resource type, is
checked on cluster/* from a MEASURED entry citing the AccessDenied
message AWS returned in #6328. ResourceArnBuilder's DSQL branch, with
the path and tagged-ARN helpers only it still used, and the filter's
DSQL case go, and the shared tags controller now serves DSQL's
tagging on its modeled route only, refusing the bare /tags. Only DSQL's
operations change in the table. DsqlStoredResourceArns answers a
cluster's stored tags; TagResource and UntagResource give the cluster a
new map under its lock, and its tags field is volatile.
2026-11-19 13:31:17 -04:00
Michael Edwards ede9601b82 fix(lambda): keep the visibility a function sets on failed SQS messages (#9003) 2026-11-19 13:26:45 -04:00
mrfelek 07f93dc8e5 fix(cloudformation): give a created stack its template as soon as CreateStack answers (#9008)
A created stack got its template only once its creation started on an operation thread, after CreateStack had answered, so a GetTemplate or GetTemplateSummary in between answered {} and an empty summary. The execution claim, which marks the stack CREATE_IN_PROGRESS under the stack's lock, now sets the template the stack is created with, as it already sets the stack policy, and a claim the operation queue refuses restores the previous template from StackMutationSnapshot with the rest of the stack.
2026-11-19 13:17:02 -04:00
Murtuza Chhil ae6d138734 test(paymentcryptography): the body is the request the helper builds (#9009)
* test(paymentcryptography): the body is the request the helper builds
2026-11-19 13:15:47 -04:00
Allen Sanborn 079d4a2813 fix(rds): store and describe Iops and StorageThroughput on DB instances (#8777)
CreateDBInstance and ModifyDBInstance accepted Iops and StorageThroughput but dropped them, and DescribeDBInstances returned neither, so a Terraform aws_db_instance that set iops or storage_throughput never converged. Both are now stored from Create and Modify. Describe reports Iops on io1, io2 and gp3 and StorageThroughput on gp3, with the RDS User Guide's gp3 baseline when an instance named neither (12,000 IOPS and 500 MiB/s from 400 GiB, 200 GiB for Oracle, never for SQL Server; 3,000 and 125 otherwise), and StorageThroughput 0 on every other type. Iops on a type without provisioned IOPS, Iops=0 aside, and StorageThroughput off gp3 are refused with InvalidParameterCombination, a create naming Iops and no type defaults to io1, and a type switch drops values the new type does not carry.
2026-11-19 13:02:39 -04:00
rajp33 623be62f3a fix(iot): keep MQTT persistent sessions across reconnects (#8915) 2026-11-19 13:01:44 -04:00
mrfelek f94b28e702 fix(iam): read the stored tags of an EBS snapshot or an AMI, whose ARN carries no account (#9005)
* fix(iam): read the stored tags of an EBS snapshot or an AMI, whose ARN carries no account
2026-11-19 13:01:10 -04:00
Priamo Germosen 56d8b9aedc fix(iam): check EventBridge Pipes requests on the pipes they name, from the generated table (#9000)
Pipes was built by hand: ResourceArnBuilder read a pipe's name from its
path or a tagging route's ARN, IamEnforcementFilter sent Pipes requests
there without their operation, the request resources table held no Pipes
operation, and nothing gave a policy condition a pipe's tags. pipes
moves from HAND_BUILT to NAMESPACES, so the table gives each operation
the pipe its path's Name names, or the ARN a tagging route carries, from
botocore's REST model, and ResourceArnBuilder's Pipes branch and the
filter's Pipes case go. Only Pipes' operations change in the table.
PipesStoredResourceArns answers a pipe's stored tags; TagResource and
UntagResource give the pipe a new map one call at a time, and its tags
field is volatile.
2026-11-19 12:17:15 -04:00
Jackson PriceandAndre Kurait d8a638e4af fix(cloudwatch): preserve weighted samples on public metric APIs (#8974)
* fix(cloudwatch): preserve weighted samples on public metric APIs
* fix(cloudwatch): index Query fields before weighted parsing
* fix(cloudwatch): include datum paths in weighted length errors

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 11:57:03 -04:00
Nick Lucas 9795119ce0 feat(lambda): support node selectors and tolerations for Kubernetes Lambda pods (#8967)
The Kubernetes Lambda executor built every pod without a nodeSelector or tolerations, so on a cluster whose node groups are all tainted the pods stayed Pending until the cold-start timeout. FLOCI_SERVICES_LAMBDA_KUBERNETES_NODE_SELECTOR takes key=value entries with label syntax for spec.nodeSelector, and an invalid entry fails the cold start rather than letting the pod land on nodes it was meant to avoid. FLOCI_SERVICES_LAMBDA_KUBERNETES_TOLERATIONS takes the tolerated taints in kubectl taint syntax (key=value:Effect, key:Effect, or a key alone for every effect), and an invalid entry is dropped with a warning, as an invalid label is. A repeated key now logs which value replaced which. The Helm chart, now 0.2.0, renders both from floci.lambda.kubernetes.nodeSelector and tolerations.

Closes #8992
2026-11-19 11:43:38 -04:00
Kenshin Okinaka a8cb033a98 fix(ses): validate template names the way SES does (#8996)
* fix(ses): validate template names the way SES does
2026-11-19 11:43:00 -04:00
mrfelek 573cb9e9b7 fix(cloudformation): keep stack sets with their instances and operations in their Region (#8987) 2026-11-19 11:41:49 -04:00
Murtuza Chhil c2721ca938 fix(paymentcryptography): a member the request carries as null is absent (#8975)
* fix(paymentcryptography): a member the request carries as null is absent
2026-11-19 11:25:17 -04:00
Hector Ventura 030ba3d72b chore(ci): run the EMR Docker runner test nightly, beside the cluster shrink check (#8957)
EmrDockerRunnerDockerIntegrationTest pulls a 3.5 GB image and took about 640 s of a passing pull request shard, so after #8903 moved its cluster shrink scenario to the nightly checks, the rest of the class follows as EmrDockerRunnerNightlyIntegrationTest. partition.sh no longer weighs it: SLOW_CLASSES comes from PARTITION_SLOW_CLASSES, empty by default, and test_partition.py passes its own. The standard nightly group has no room for it (339 of its 359 minutes), so the cluster-shrink group becomes docker-runner, with both classes in 42 minutes of bounds in a 62-minute job. On a pull request, the nightly checks now run only the nightly classes it adds or changes, or all of them when it changes the workflow.
2026-11-19 11:22:50 -04:00
Oleksandr Nikolaichuk 5b2c46f358 feat(eks): apply UpdateClusterConfig for endpoint access, logging and authentication mode (#8769)
Floci now implements UpdateClusterConfig for endpoint public and private access, publicAccessCidrs, logging and authentication mode, each stored as an update DescribeUpdate returns. As on EKS, one request names one family, the authentication mode moves one step forward (CONFIG_MAP, API_AND_CONFIG_MAP, API), turning both endpoints off or sending an endpoint or logging update that changes nothing is refused with EKS's messages, and a repeated clientRequestToken returns the first update. A different subnet or security group list, and any other member, the Auto Mode ones included, are refused. DescribeUpdate with an addonName no longer answers a cluster update.
2026-11-19 11:18:04 -04:00
Vũ Thế Huy a06be2d292 feat(glue): run Spark job scripts in a container (#8568) 2026-11-19 11:14:30 -04:00
mrfelek 379ac190c3 fix(s3vectors): answer S3 Vectors' messages for a create under a taken name (#8973)
A second CreateVectorBucket or CreateIndex under a name already taken answered ConflictException with a message of Floci's own, naming the bucket or the index. It now answers S3 Vectors' "A vector bucket with the specified name already exists" and "An index with the specified name already exists", as measured on AWS. The type and the 409 stay.
2026-11-19 11:13:36 -04:00
Kenshin Okinaka 57e4859f32 refactor(ses): move the content scan into the mime package (#8986) 2026-11-19 11:12:56 -04:00
TATSUNO “Taz” Yasuhiro f094103b31 feat(lambda): add InvokeWithResponseStream (#8964)
* feat(lambda): add InvokeWithResponseStream
* feat(lambda): report a streaming handler's error in InvokeComplete
* fix(lambda): send response stream chunks while the function runs
* fix(lambda): build Invoke qualifier violations with the shared helpers
* test(lambda): exit the streaming handler from the write callback
2026-11-19 11:10:09 -04:00
Jimmy Liu Jia d7e46525eb refactor(route53resolver): share integration request helper (#8965)
The Route 53 Resolver tests each built the same JSON 1.1 request by hand, with its content type, X-Amz-Target and Authorization headers. They now go through one Route53ResolverRequests.call in the testing package, across the integration, region scoping, rule filter, tagging and consumer tests, and their copies of the content type constant are gone.
2026-11-19 11:09:58 -04:00
luiseterc c81d9dab46 fix(sqs): read resource tags from the queue owner account (#8866) 2026-11-19 11:04:10 -04:00
Ignas 6f71e2877f fix(rds): keep DB proxies across restarts in file-backed storage (#8970)
DbProxy.getEndpoint() is a getter with no setter, so the storage mapper wrote an "endpoint" field to rds-proxies.json and then refused it as unknown on load. The file was quarantined and every DB proxy was lost on restart in persistent, hybrid and wal modes. The mapper now ignores the getter; endpointHost is still stored, and the RDS response and the CloudFormation Endpoint attribute still read it.

Closes #8968
2026-11-19 10:47:56 -04:00
Oleksandr Nikolaichuk 5a0529ba31 fix(cloudformation): update an API Gateway stage in place and delete it with the stack (#8851)
An AWS::ApiGateway::Stage was created again on every stack update, dropping stage variables set outside the stack. It is now patched in place for DeploymentId and Description and restored on rollback. A StageName change replaces it, and a RestApiId change moves it: the stage left on the old API is deleted through the lifecycle records once the update commits, with its delete events, unless UpdateReplacePolicy: Retain keeps it. A new stage whose name is already taken on the API is refused with "Stage already exists", and the stage is deleted with the stack.
2026-11-19 10:36:39 -04:00
Vũ Thế Huy 8db9542226 fix(redshift): tokenize streaming view JOIN and aggregate checks with SqlParameterParser (#8977)
The JOIN and aggregate checks on a streaming materialized view blanked string literals with their own regex, which paired the quotes of an escape string such as E'\'' wrongly: a JOIN or an aggregate after it could hide inside a bogus literal, and a keyword inside E'it\'s a join' was refused. The checks now run on the query as SqlParameterParser tokenizes it, through a new blankQuoted that empties quoted strings, quoted identifiers and dollar-quoted bodies and drops comments. The Redshift DDL rewrite masks its string literals through the same tokenizer's literalSpans instead of a second regex.
2026-11-19 10:30:29 -04:00
Hector Ventura 9ea2f038f7 fix(ci): ship the darwin-amd64 binary to every Mac, built for Rosetta 2 (#8997)
* fix(ci): ship the darwin-amd64 binary to every Mac, built for Rosetta 2
2026-11-19 10:23:39 -04:00
Hector Ventura b0bed09bc6 chore(ci): pin the shared PR limit workflow, drop merge_group triggers, bound every job (#8960) 2026-11-19 10:19:33 -04:00