Commit Graph
4062 Commits
Author SHA1 Message Date
Priamo Germosen 8d9d74084d perf: replace guessed runtime readiness waits (#7375)
Replace remaining guessed poller readiness delays with observable server state. Make extension polls request-specific and synchronize quiesce races through a no-op stopped-dispatch observation hook, failing explicitly on interruption.

Retain main's dispatch-recovery and shutdown cleanup tests unchanged after #7380, including its dispatch-context exactly-once barrier.

Validated 106 focused tests and Checkstyle.
2026-11-03 17:14:44 -06:00
Priamo Germosen 5c303afac6 fix(iam): check four more services on the resources their requests name (#7365)
Under IAM enforcement, DataSync, EMR, Rekognition and IAM Identity
Center requests were checked on `*`, so a grant scoped to a DataSync
agent, an EMR cluster, an Identity Center permission set or a
Rekognition custom model was refused, and a deny scoped to one never
applied.

The generated table of the resources requests name now reads them, 276
operations, from AWS's Service Reference and botocore as it reads the
earlier batches: their namespaces move from the generator's
NOT_COVERED to NAMESPACES and the table is regenerated, nothing in it
edited by hand; 1385 operations over 33 namespaces. Each resource
type Floci serves has the ARN format it mints: DataSync's
`agent/agent-<id>`, `location/loc-<id>` and `task/task-<id>`, EMR's
`cluster/<id>`, and IAM Identity Center's instances and permission
sets, with no Region or account. Of Rekognition, Floci serves the image
analyses alone, which act on no resource but a custom model.

Corrections, each with its reason:

- EMR requests naming a cluster by its job flow id, JobFlowId or
  JobFlowIds (AddInstanceGroups, AddJobFlowSteps, DescribeJobFlows,
  TerminateJobFlows and the four Set operations), are checked on that
  cluster: a job flow's id is the cluster's.
- EMR's AddTags and RemoveTags are checked on the cluster their
  ResourceId names, the one Floci tags, not on the one their ClusterId
  gives, which only scopes a session-scoped resource's tags. Read as
  generated, a ClusterId the grant covers would have let a request tag
  another cluster.
- EMR's ModifyInstanceGroups may leave out its ClusterId ("Required:
  No") and name each instance group by its id alone, which EMR then
  finds the cluster of. Such a request is checked on the cluster each
  group is in, where it was checked on `*`; a null ClusterId is read as
  none, as the handler reads it. An InstanceGroups that is not a list
  names no group to the check, and the handler now refuses it as naming
  none, where it modified the groups an object's values named.
- Rekognition's stream processor operations are checked on
  `streamprocessor/<Name>`: the Developer Guide's example gives a
  processor named streamProcessorForCam the ARN
  `...:streamprocessor/streamProcessorForCam`.
- IAM Identity Center's CreateAccountAssignment,
  DeleteAccountAssignment and ProvisionPermissionSet are also checked on
  the account their TargetId names, `account/<id>`, which the action
  acts on beside the instance and the permission set. A
  ProvisionPermissionSet for ALL_PROVISIONED_ACCOUNTS names no TargetId
  and provisions the permission set to every account it is provisioned
  to (the User Guide: up to 3,500 accounts that way, one with
  AWS_ACCOUNT), so it is checked on each of them, where a grant on the
  instance and the permission set alone let it through. Its TargetId
  names the account only for AWS_ACCOUNT, so a null one with
  ALL_PROVISIONED_ACCOUNTS names none.

The two lookups are the existing `through` entries, which named the
cluster or workgroup a Redshift Data session runs on: one may now read
each value of a list's field, and apply only `when` the request names
its resource no other way. StoredResourceArns.through gives a list of
ARNs, which EmrService and SsoAdminService now answer from what they
store, EmrService under the lock its handlers change clusters under.

Fixes the new formats needed:

- DataSync's ARN formats, and IAM Identity Center's applications' and
  trusted token issuers', name their account `${AccountId}` where every
  other format has `${Account}`. The generator now reads that slot as
  `${Account}`, so the caller's account fills it; a new Identity Center
  application was otherwise checked on `arn:aws:sso::*:application/*/*`,
  which no account-scoped grant matches.
- Identity Center's application providers are AWS's own,
  `arn:aws:sso::aws:applicationProvider/<id>`. An ARN of a type whose
  format fixes the account as `aws` is now checked in that account
  alone, not also as the caller's own copy, which does not exist and
  which a grant on the provider did not cover. An ARN of any other type
  giving the account `aws` is still checked as the caller's too.
- A permission set, an application or a trusted token issuer an
  Identity Center create makes is in the instance its InstanceArn
  names, whose id its ARN carries, `permissionSet/<instance id>/<id>`.
  It was checked with both ids open, which no grant scoped to an
  instance's permission sets matched. The generator now fills a variable
  no member fills from the ARN of another type the action acts on whose
  format is that variable alone, given by the ARN member named after it.

Left as generated, on `*`: Rekognition's CreateStreamProcessor and
StartMediaAnalysisJob, which name their collection or model two
structures deep, where the table reads none, and which Floci does not
serve.

Elastic Beanstalk and Redshift Serverless, which have as few resource
types, stay unread, each with its reason: an environment's ARN carries
an application name its requests do not give, and Redshift Serverless'
ARNs end in ids its requests name by name, so both need the stored
ARNs found first.

iam.md lists the four services, and AWS Payment Cryptography, which
the table already read, and gives the corrections, the rule for an
AWS-owned resource's ARN, and the cluster, accounts and instance the
lookups and the creates are checked on.
2026-11-03 17:14:32 -06:00
Priamo Germosen 96fafbd4dc fix(iam): answer three refusals with their captured codes (#7364)
Captures from a real account on issue 6042 answer three refusals this
emulator had written for itself, each wrong in its code or its status
rather than only in its wording.

ChangePassword answered InvalidParameterValue 400 naming the user for a
wrong old password. AWS answers AccessDenied 403 and "Either the new
password does not conform to the account password policy or the old
password was incorrect.", which is now what it sends, as captured. The
sentence names both of the operation's causes without saying which one
refused the call, so a caller who cannot prove the current password
learns nothing about the policy either.

That it names the policy half does not settle the policy half. The
capture covers a wrong old password with a conforming new one, nothing
records AWS answering it for a password the policy refuses, and the
model declares PasswordPolicyViolation on this operation for exactly
that case, so a new password the account policy refuses keeps that error
and the rule it names, as it does on CreateLoginProfile and
UpdateLoginProfile. The old password is still read first, so a request
with both halves wrong answers the capture.

PolicySourceArn on SimulatePrincipalPolicy and
GetContextKeysForPrincipalPolicy resolved an entity out of whatever
followed the last slash, so arn:aws:iam:user/bob simulated as the user
bob. It is now held to AwsArnUtils.isArn before either simulator
resolves it, answering InvalidInput "Invalid ARN provided in the
request: <value>". A valid ARN that names neither a user nor a role
still answers the entity-type refusal it answered before.

GetAccessKeyInfo answered InvalidParameterValue quoting an id the
account never issued. AWS answers ValidationError "Access key ID is not
valid.", for an AKIA and an ASIA id alike, which also settles that it
refuses such an id rather than decoding the account out of it.

The wire and unit tests pin the two halves of the password refusal
answering differently and the order they are read in, both simulators
against three unparseable values and a well-formed one, and the key
refusal over both id formats. One enforcement test had pinned the
unparseable ARN resolving, which the capture overturns.
docs/services/iam.md and docs/services/sts.md carry the three answers,
what each capture covers, and what it leaves open.

Three comments that described these answers before the captures are
corrected with them: handleGetAccessKeyInfo's Javadoc, which still
called its old refusal a documented deviation,
StsAccessKeyInfoIntegrationTest's class comment, which said the same,
and validatedPolicySourceArn's, which said a value clearing 20
characters and parsing as no ARN is left alone and that what AWS answers
for one is not recorded.
2026-11-03 17:14:20 -06:00
Jackson PriceandAndre Kurait ad8cd14724 fix(swf): retain Lambda invocation failure causes (#7450)
Keep the original unexpected Lambda invocation exception and nested cause in the existing SWF warning. Preserve modeled failures, history reason/details, scheduled decision and invocation semantics. Qualify against this public branch without copying unrelated private consumers.


(cherry picked from commit d33318b90dea5e15468b669aa93743d23bb550ae)

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-03 17:36:21 -04:00
Ruslan Sovinskyy 4ba9a55a3a feat(cloudformation): provision event bus v2 and subscriber (#7260) 2026-11-03 17:27:11 -04:00
Jimmy Liu Jia d9d2a1edd6 fix(codeartifact): lease NuGet sidecars through requests (#7438) 2026-11-03 17:24:10 -04:00
Andre Kurait ae041d690d fix(elbv2): retain listeners through transient bind failures (#7440) 2026-11-03 17:00:29 -04:00
Ovidiu (Ovi) 7f1f22e87c fix(opensearch): keep the domain settings Terraform reads back (#7447)
CreateDomain and UpdateDomainConfig dropped the zone awareness count, the
dedicated master type and count, EBS IOPS and throughput, advanced
options and the address type, and Floci had no off-peak window or
software update options, so a domain created by
terraform-aws-modules/opensearch planned a change after every apply.
Store and report them, with AWS's defaults for a new domain.
2026-11-03 16:58:16 -04:00
Niels Kootstra 31633804de fix(memorydb): check for an existing cluster after claiming its name, so a create that just ended is seen (#7441)
* fix(memorydb): check for an existing cluster after claiming its name, so a create that just ended is seen

* test(memorydb): wait for both racing creates to end before counting their outcomes

* test(memorydb): build the racing creates' spec with the existing cluster helper
2026-11-03 16:56:07 -04:00
Ovidiu (Ovi) 999abb3467 fix(eventbridge): keep the KMS key, dead-letter and log config given to CreateEventBus (#7444)
CreateEventBus dropped KmsKeyIdentifier, DeadLetterConfig and LogConfig, which UpdateEventBus already stored, so a bus created with them read back without them. Store them on create and echo them in the response, as the model's CreateEventBusResponse does.
2026-11-03 16:50:59 -04:00
David 342c79806d fix(codeartifact): route a literal slash scoped npm publish through the publish guards (#7445)
isPublish only took a PUT to one path segment, so a scoped publish sent as
PUT /@scope/name (two segments) fell through to the plain proxy. Verdaccio
accepts that shape, so the publish landed without the publish:BLOCK check,
the Archived/Disposed guard, the byte identical republish shortcut or the
byte accounting that follow a publish.

Also treat exactly /@scope/name as a publish. packageIdentityFromPath already
resolves it, and the request is still forwarded to Verdaccio as sent. Longer
paths, such as dist-tag updates, are still proxied unchanged.

Closes #7439
2026-11-03 16:48:44 -04:00
Rashen Anupama fad0493169 fix(cloudformation): propagate tags to nested stacks (#7383) 2026-11-03 16:47:32 -04:00
Andre Kurait 9c2a2c2a02 fix(elbv2): honor backend TLS and bound health probes (#7433) 2026-11-03 16:29:45 -04:00
Ovidiu (Ovi) a772b27583 feat(ec2): add Client VPN endpoints, associations, rules and routes (#7425)
* feat(ec2): add Client VPN endpoints, associations, rules and routes

Store Client VPN endpoints with their target network associations,
authorization rules and routes, and export the OpenVPN client
configuration from the server certificate held in ACM. Fifteen EC2
Query actions; no VPN server runs.

* fix(ec2): apply Client VPN describe filters and pin associated subnets

Apply AWS's filters on the four Client VPN describe operations and refuse
unknown ones. Report selfServicePortalUrl for an endpoint with the portal
enabled. Require every requested security group to exist. Register
associations as subnet and VPC dependencies, saved under the subnet
reference lock. Compare rule and route CIDRs as networks. Replace the
endpoint's lists instead of changing them in place, and let only a
missing ACM certificate leave the export without its CA.

* refactor(ec2): share the Query protocol helpers and the id hex generator

Move the EC2 Query parameter and response helpers Ec2QueryHandler kept
private (getList, getFiltersList, boolParam, intParam, tagSetXml,
booleanResponse, xmlResponse) into Ec2QueryProtocol, which the Client VPN
handler now uses too, and replace the four randomHex copies in
Ec2Service, Ec2IpamService, FlowLogService and Ec2ClientVpnService with
Ec2Ids.randomHex. The Client VPN test builds its requests through
testing.Ec2Requests.

* style(ec2): brace the loop exits in Ec2QueryProtocol
2026-11-03 15:16:59 -04:00
Niels Kootstra 5b955981fb fix(opensearch): refuse a concurrent CreateDomain of a name already being created (#7435) 2026-11-03 15:06:54 -04:00
Andre Kurait 7a7fef93d9 fix(cloudformation): preserve security group identity and rule ownership (#7430)
Retain an unnamed security group across inline-rule updates and snapshot every EC2 revoke criterion before mutating stored permissions. Preserve immutable-property replacement and rules owned by other stacks. Share DeleteStack followed by awaitStackDeleted in CfnStackWaits for the security group and composite alarm fixtures.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-03 14:55:32 -04:00
Jeff Horrocks e27aa382e1 fix(dynamodb): emit INSERT when UpdateItem creates the item (#7432)
An UpdateItem, or a transactional Update, on a key with no stored item labelled its DynamoDB Streams record and its Kinesis destination record MODIFY. AWS labels a write that adds a new item INSERT, and PutItem already did. Stream consumers that branch on eventName missed the creation.

Pick the event name from whether an item existed before the update, as PutItem does, for both sinks.

Closes #7431
2026-11-03 14:50:50 -04:00
Ovidiu (Ovi) 7d84ce47e8 fix(athena): report a workgroup's configuration as AWS does (#7436) 2026-11-03 14:41:29 -04:00
Jimmy Liu Jia b8fd3da5f0 fix(rds): roll back failed cluster member publication (#7408)
* fix(rds): roll back failed cluster member publication

* fix(rds): release port after failed member writes

* fix(rds): preserve ports when persistent deletion fails

* fix(rds): keep rollback scoped to instance cleanup

* fix(rds): retain port after uncertain WAL rollback
2026-11-03 14:40:12 -04:00
David 0454c354f7 fix(codeartifact): enforce publish:BLOCK on native Maven, npm, pypi and NuGet publishes (#7304) 2026-11-03 14:24:23 -04:00
soreavis bb6f46c104 fix(docker): recommend label=disable, not :z, when SELinux blocks the Podman socket (#7434)
The Podman docs and the web console's start-failure message told SELinux users to relabel the socket mount with :z. On a rootless podman machine (SELinux enforcing) that recipe fails: the web console cannot start and a Lambda invoke returns "Docker is not reachable (Permission denied)". :z fixes access to the socket file, but SELinux also denies connectto from the Floci container (container_t) to the Podman service (container_runtime_t), which a relabel can't fix; --security-opt label=disable avoids it. With it, the same recipe starts the console and invokes a Python Lambda.
2026-11-03 14:17:49 -04:00
Allen Sanborn fbfe9048a1 fix(ec2): support NAT gateway secondary addresses (#7327)
* fix(ec2): support NAT gateway secondary addresses

* fix(ec2): update a NAT gateway's secondary addresses in place

A CloudFormation update that changed only a NAT gateway's Secondary*
properties replaced the gateway. The replacement was created while the old
gateway still held its Elastic IP or fixed private address, so it came back
failed with Resource.AlreadyAssociated (or InvalidIPAddress.InUse) and the
update failed. The schema does not mark the secondaries create-only, so AWS
changes them in place and the gateway keeps its id.

Ec2Service.updateNatGatewaySecondaryAddresses sets a gateway's secondaries
to the requested ones: kept ones stay, dropped Elastic IPs are handed back,
new ones are checked as CreateNatGateway checks them, and every check runs
before anything changes. The provisioner calls it instead of replacing, and
records the prior secondaries so a rolled-back update puts them back.

* fix(ec2): keep a NAT gateway's picked secondary when listed ones change

The counted slots of an in-place secondary update kept the first secondary
with no Elastic IP and an address the request does not list. With
SecondaryPrivateIpAddresses [A] and a count of 1 changed to [B] and 1, that
was the dropped listed A, while the address the subnet had picked was given
up. Counted addresses always follow the listed ones, so the counted slots now
keep the last such secondaries, in order.

Tests cover a count changed in place (an unrelated change keeps the same
addresses; 1 to 2 keeps the first; 2 to 1 keeps one of them), the picked
address surviving a listed change, and secondary Elastic IPs swapped between
listed addresses or moved to a new one, with DescribeAddresses showing each
held at its new address.

* test(ec2): pin which counted NAT gateway secondary an update keeps

The counted slots keep the last unlisted secondaries, so a count lowered
from 2 to 1 keeps the second address; the test now asserts that, and that
raising the count from 1 to 2 adds a new address in the subnet after the
kept one. The comment no longer claims counted addresses always follow the
listed ones: slot position is the only record of an address's origin, and
across updates a once-listed address can move behind a picked one.

* fix(ec2): read a NAT gateway under the allocation lock before updating its secondaries

The secondary-address update read the gateway before taking the lock that
DeleteNatGateway holds. A delete finishing in between left the update
holding a stale copy, which it then wrote back, re-associating the Elastic
IPs the delete had released and overwriting the association of a gateway
that had since taken the primary one. The gateway is now read again under
the lock, and one that is gone or deleted is refused with NatGatewayNotFound.

* test(cloudformation): read NAT gateway addresses through XmlParser

The secondary-address tests picked addresses out of DescribeNatGateways and
DescribeAddresses with a regular expression and substring checks that
depended on element order. They now select the non-primary items of
natGatewayAddressSet through XmlParser.

* test(ec2): cover a NAT gateway stored as deleted by a racing tag write

CreateTags writes a NAT gateway back under the gateway's tag lock, which
DeleteNatGateway does not take. A tag write that read the gateway before a
delete therefore stores the very record the delete marked deleted, so the
secondary-address update's deleted-state check is reachable. The test pauses
the tag write's put, deletes the gateway, lets the put finish, and asserts
the update refuses the record with NatGatewayNotFound and holds no Elastic
IP for it.

* refactor(ec2): fill a NAT gateway's address slots in one place

CreateNatGateway and the secondary-address update each walked the gateway's
slots the same way: take the listed Elastic IP and address at each
position, assign a free address where none is listed, build the address,
and give back what was assigned if a later slot fails. Both now call
fillNatGatewaySlots. Create passes its primary address as slot 0 and marks
it primary afterwards; the update passes the slots its kept secondaries
already fill. The order addresses are assigned in, the error codes and the
release on failure are unchanged.

* test(ec2): cover NAT gateway lease release and reuse the shared test helpers

No test covered the lease a NAT gateway gives back when its addresses run
out part way, so the shared slot-filling walk could lose its release with
every test green. Two tests now run a /28 subnet out of addresses, one
through CreateNatGateway and one through a secondary-address update, and
verify the lease taken on the VPC network is released and that the update
leaves the gateway as it was.

The concurrent-delete test now builds its service with mockModeService()
and waits for the blocked update with ThreadStates.awaitBlockedOrDone.

* test(ec2): build the small NAT subnet with privateSubnet
2026-11-03 14:15:02 -04:00
Aniket Shukla eb65ad88d2 feat(accessanalyzer): add basic ValidatePolicy checks (#7085)
* feat(accessanalyzer): add policy validation JSON endpoint

* feat(accessanalyzer): report policy grammar findings with source spans

* feat(accessanalyzer): secure policy validation pagination and IAM

* fix(accessanalyzer): report repeated policy keys

* fix(iam): authorize policy validation through modeled routes

* refactor(iam): resolve policy validation from vendored routes

* refactor(iam): share condition operator metadata
2026-11-03 13:51:07 -04:00
Vũ Thế Huy 814232c43f feat(firehose): load Redshift COPY with temporary credentials of the stream role (#7337) 2026-11-03 13:49:06 -04:00
luiseterc f22d0409ac fix(eks): let guest kubelet own worker node registration (#7420)
* fix(eks): let guest kubelet own worker node registration

Honor an explicit image catalog capability on initial join and replay. Preserve simulated registration by default and retain join bookkeeping and listeners.

Closes floci-io/floci#7419

* test(eks): clean up the kubelet registration worker independently

Retain the launched instance ID and terminate it in the original account and region. Attempt worker, tracking and cluster cleanup independently and verify the worker reaches terminated state.
2026-11-03 13:23:21 -04:00
Ovidiu (Ovi) 3308ea2f1c feat(logs): add vended log delivery sources, destinations and deliveries (#7411) 2026-11-03 13:20:11 -04:00
Xavier H. 8c252ef0de fix(sns): deliver to HTTP endpoints over HTTP/1.1 (#7414)
The SNS HttpClient used the JDK default version, HTTP_2, so every http:// delivery carried an h2c upgrade offer (Connection: Upgrade, Upgrade: h2c), which AWS SNS never sends. Servers that accept the upgrade read an empty request body. Pin the client to HTTP/1.1, as HttpProxyInvoker already does.

Closes #7426
2026-11-03 12:52:11 -04:00
Andre Kurait dddc0b85cb fix(ec2): honor CreateRoute DryRun before mutation (#7424)
* fix(ec2): honor CreateRoute DryRun before mutation

Check CreateRoute DryRun before resolving or writing routes. Cover valid and missing NAT targets, signed IAM allow and revocation, rejected signatures, unchanged routes and normal creation through the SDK.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>

* test: share AWS client key-pair configuration

Reuse AwsTestClients for caller credentials in EC2 DryRun and SSM ARN permission fixtures. Preserve explicit endpoints, signature rejection and authorization assertions.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>

---------

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-03 12:24:50 -04:00
Andre Kurait e97c4cc204 fix(elbv2): normalize forwarded Host from the client authority (#7416) 2026-11-03 11:49:44 -04:00
Ovidiu (Ovi) 2e47b9c571 feat(bedrock-agentcore): add the harness control plane (#7387)
* feat(bedrock-agentcore): add the harness control plane

CreateHarness, GetHarness, UpdateHarness, DeleteHarness, ListHarnesses and ListHarnessVersions were
unknown, so aws_bedrockagentcore_harness could not be created. Harnesses are stored per Region with a
name-<10 alphanumerics> id and settle in READY at once. Each update appends an immutable version, and
members a create leaves out take the defaults AWS fills in, including an AgentCore Runtime
environment named harness_<name>. Tags work on harness ARNs through the shared /tags route.

InvokeHarness moves into the new /harnesses controller unchanged: a request is matched against one
root resource class, so the data-plane controller rooted at / would no longer see /harnesses/invoke.

* fix(bedrock-agentcore): match a harness role ARN with AwsArnUtils.PARTITION_REGEX

* fix(bedrock-agentcore): serve InvokeHarness from a data-plane class of its own

InvokeHarness sat in the control plane's /harnesses controller, so it inherited its JSON-only
@Produces (an Accept: application/vnd.amazon.eventstream request was refused with 406) and was gated
by no service flag, since the controller was missing from ResolvedServiceCatalog.

It now has its own class rooted at /harnesses/invoke, the more specific root, registered with the
data plane, and the harness controller is registered with the control plane.

* refactor(bedrock-agentcore): share one random id suffix helper

The harness registry, and the memory, tools and gateway services before it, each carried their own copy
of the alphanumeric alphabet and the random suffix builder. One random(alphabet, length) and
randomAlphanumeric(length) in BedrockAgentCoreControllerSupport now serve all four; the gateway keeps
its lowercase alphabet for gateway ids.
2026-11-03 11:31:06 -04:00
Andre Kurait 58cd1ec758 fix(docker): confirm concurrent container removal (#7412) 2026-11-03 11:18:49 -04:00
Mohith 6386e8fd07 fix(cognito): reject non-integer MaxResults in auth event and WebAuthn listings (#7418) 2026-11-03 11:14:40 -04:00
Francisco Javier Barón ac0662ae9d fix(controltower): serve tags for landing zones and enabled controls (#7403) 2026-11-03 10:43:20 -04:00
Murtuza Chhil 648d363102 feat(paymentcryptography): the key algorithms of the control plane (#7395) 2026-11-03 10:35:43 -04:00
Mohith 537e042482 feat(cognito): support AdminListUserAuthEvents (#7404)
Record SignIn events for USER_PASSWORD_AUTH, ADMIN_USER_PASSWORD_AUTH,
ADMIN_NO_SRP_AUTH and USER_SRP_AUTH on pools with the Plus feature plan
and threat protection in AUDIT or ENFORCED mode, and list them newest
first with MaxResults and NextToken paging. Other pools get
UserPoolAddOnNotEnabledException. A wrong password is Fail, a sign-in
interrupted by a challenge stays InProgress until it ends in tokens, and
no EventRisk is reported since Floci performs no risk evaluation.

Events are matched to their pool and user by the stored owner, not the
key prefix alone, and a sign-in that ends after its user is deleted
records nothing.

Closes #6137
2026-11-03 10:34:39 -04:00
Vũ Thế Huy e82fa60617 feat(redshift): read a Parquet column missing from a partition's files as NULL (#7406) 2026-11-03 10:29:39 -04:00
Andre Kurait 240193e624 fix(cloudformation): apply IAM role session duration (#7405) 2026-11-03 09:31:36 -04:00
Simon Claessens e02b91714d fix(rds): restore a postgres snapshot on an image that creates a template database at startup (#7394)
* fix(rds): restore a postgres snapshot on an image that creates a template database at startup

* test(rds): clean up the template restore test's instances and snapshot even when it fails

* test(rds): build the template restore test's requests with RdsRequests
2026-11-03 09:28:51 -04:00
Andre Kurait b9a22d55c8 fix(eventbridge): isolate replay request context (#7409)
Run archive replay in a fresh duplicated Vert.x context seeded from its own account and region, so the initiating request ending cannot invalidate delivery. Ordering, cancellation and ARN parsing are unchanged.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-03 09:12:57 -04:00
Ovidiu (Ovi) 93cc09cf7e fix(apigateway): keep a REST API's apiKeySource and honor AUTHORIZER (#7382) 2026-11-03 08:39:29 -04:00
syedali032-creator 25780c051e feat(stepfunctions): support workflow variables in JSONPath states (#7106) 2026-11-03 08:32:00 -04:00
Ovidiu (Ovi) d7797bf56d feat(redshift): add PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy (#7361)
* feat(redshift): add PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy

aws_redshift_resource_policy could not be created: the provisioned Redshift API had none of the three operations. They now take the ARN of a Redshift Serverless namespace or a provisioned cluster, the targets of a zero-ETL integration, matched exactly in the caller's account and Region. The policy is kept on its namespace or cluster, so it goes with the resource, and is stored and echoed, not evaluated.

* feat(redshift): return resource policies and their errors as AWS does

Checked against AWS with read-only GetResourcePolicy calls: a stored policy comes back with Version and
Statement first and each statement's Effect, Principal, Action, Resource and Condition first,
pretty-printed, so it is now stored in that form. A namespace that does not exist answers "The requested
namespace doesn't exist."; an ARN in another Region, a namespace id that is not a UUID and an ARN of any
other resource type are InvalidParameterValue with AWS's messages, not UnsupportedOperation.

Adds an SDK compatibility test for the three operations.

* fix(redshift): keep a namespace's resource policy across updates

The Namespace copy constructor, used by tagging, untagging and UpdateNamespace, did not copy the
resource policy, so any of them dropped it. findClusterByArn now reads the ARN through AwsArnUtils.

Without a Version, GetResourcePolicy reached Elastic Load Balancing, which defines the name but does
not serve it; it now goes to Redshift.

* fix(redshift): refuse an empty resource policy before looking the resource up
2026-11-03 08:27:03 -04:00
Daniël van Ziel 52055b774e fix(codedeploy): answer ApplicationNameRequiredException when applicationName is missing (#7392) 2026-11-03 08:25:53 -04:00
Ronald Li 🛠️ d0747f26d1 feat(cloudformation): provision Cognito user pool identity providers (#7350) 2026-11-03 08:21:09 -04:00
TATSUNO “Taz” Yasuhiro 121dc22563 fix(dynamodb): refuse an empty attribute name in a TransactWriteItems item, key or value (#7389) 2026-11-03 08:20:20 -04:00
noy-solvin 886f626b4d fix(elasticache): enforce IAM auth engine version, TLS, and user constraints (#6502)
Enforce ElastiCache IAM authentication's engine version floor (Redis OSS 7.0, Valkey 7.2), in-transit encryption and IAM user ID rules on create and modify, and refuse an AuthToken with TransitEncryptionEnabled=false. TransitEncryptionEnabled no longer implies IAM authentication.

Refs #4502
2026-11-03 08:15:21 -04:00
Niels Kootstra 70a185a3aa fix(cloudformation): delete a stack whose create is still running only once the create stops (#7358)
* fix(cloudformation): delete a stack whose create is still running only once the create stops

* fix(cloudformation): leave a deferred delete to the execution it waits on and report its failure

* fix(cloudformation): refuse a new execution once a delete has been deferred

* test(cloudformation): wait for stack statuses with the shared CfnStackWaits helper
2026-11-03 08:06:48 -04:00
Jimmy Liu Jia 525d48dede fix(route53): assign distinct nameservers to delegation sets (#7373) 2026-11-03 07:57:23 -04:00
Hector Ventura 4933126314 fix(dynamodb): name the partition key in a PartiQL INSERT's own condition (#7381) 2026-11-03 07:50:52 -04:00
Andre Kurait 16704ff32b fix(s3): resolve ResourceAccount conditions from the bucket owner (#7372)
* fix(s3): resolve ResourceAccount conditions from the bucket owner

* fix(s3): generate ResourceAccount action coverage

Read s3:ResourceAccount support from the Service Reference action table and carry each evaluated action into shared signed-request and service-call context. Preserve resolved bucket ownership, existing request tag coverage and SDK session-policy regressions. Reuse AwsTestClients for IAM and STS fixtures.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>

---------

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-02 23:52:33 -04:00