Commit Graph
2128 Commits
Author SHA1 Message Date
Vũ Thế Huy 6ca2b03d21 feat(redshift): support COMPUPDATE, STATUPDATE, and TRIMBLANKS in COPY (#7751) (#7754)
* feat(redshift): support COMPUPDATE, STATUPDATE, and TRIMBLANKS in COPY (#7751)

* fix(redshift): keep NULL markers and empty strings correct under COPY TRIMBLANKS (#7751)

Skip trimming for a field that is the NULL marker, and quote a CSV field that trims to an empty string so it is not read as NULL.

* fix(redshift): accept COMPUPDATE PRESET and trim trailing tabs under TRIMBLANKS (#7751)
2026-11-09 10:08:01 -04:00
Matheus André 5d086210b2 feat(eks): size the k3s node from a configured instance type while the API keeps the node group's type (#7773) 2026-11-09 09:52:22 -04:00
Mario Toffia c4b22b25bd fix(ecs): return RunTask before the task's images are pulled (#7753)
RunTask and StartTask pulled the images and started the containers inside the
request, so an unreachable registry held the call for minutes. They now answer
PROVISIONING (awsvpc) or PENDING with PENDING containers, as AWS does, and the
launch runs on a virtual-thread executor. A failed pull shows on DescribeTasks
as STOPPED / TaskFailedToStart, and a StopTask during the pull is no longer
overwritten when the containers start.

A RunTask response's PENDING containers carried the ExecuteCommandAgent as
RUNNING with a lastStartedAt; AWS reports it PENDING with neither. A start
failure after a StopTask overwrote the user's reason and UserInitiated code
with TaskFailedToStart.

AWS reports a container's memoryReservation from the moment RunTask answers.
Docker-mode responses had it from the started container; the pending
placeholders now carry it too.

ECS reports a task as pending from RunTask until it runs, through
PROVISIONING as well as PENDING. The cluster's pendingTasksCount was a
stored field nothing ever set, and the pending statistics counted only
PENDING, so both read 0 while a background launch pulled its image.

RunTask now answers before the task's images are pulled, so the test
waits for the launch to land the task instead of expecting RUNNING
straight away.

Closes #7670
2026-11-09 09:31:39 -04:00
dgl-aiandDavid Guardiola 13640785a9 feat(signer): serve the Signer control plane for profiles, permissions and job records (#7680)
Signer was the last control plane Floci's CloudFormation provisioner stubbed:
SignerCfnProvisioner recorded only the identifiers a template handed it, with
a comment saying Floci has no Signer API. This serves the API, so an SDK, the
CLI or a stack sees the profile it actually created.

Cancellation keeps the profile, as AWS does: it stays readable through
GetSigningProfile with the same ARN and version and the status Canceled, it
stops accepting jobs, and ListSigningProfiles hides it unless includeCanceled
is set or statuses names Canceled. A PutSigningProfile on the same name brings
it back as a new active version.

A signing job fails by default, and says why. Nothing on this machine signs the
artifact, so a succeeded job would advertise a signedObject key that does not
exist and every download of it would fail; the job instead completes as Failed
with a statusReason naming the object that was not written, and RevokeSignature
refuses it because there is no signature to revoke. Metadata-only callers can
set floci.services.signer.mock-signing-jobs=true, which records jobs as
succeeded and is documented as a mock rather than as AWS behaviour.

Signer routes collide with S3's path-style ones, so a request signed for the
signer scope is rewritten onto an internal prefix before matching. That rewrite
used to happen before IAM resolved the action from the path, which left every
Signer call unchecked; IamActionRegistry now strips the internal prefix the
signing service owns, and SignerIamEnforcementIntegrationTest proves a key with
no policy is refused while one with signer:* is allowed.

Co-authored-by: David Guardiola <davidguardiola@gmail.com>
2026-11-09 09:08:00 -04:00
outofplace a65def00a4 feat(helm): add a Helm chart for running Floci in Kubernetes (#7749) 2026-11-09 09:06:23 -04:00
Oleksandr Nikolaichuk 7ca797ff22 fix(cloudformation): clear dropped ECS service settings (#7780)
An update that drops DeploymentConfiguration from an AWS::ECS::Service now clears it. A dropped CapacityProviderStrategy or ServiceRegistries keeps the stored value, and a declared empty list clears either. A failed stabilisation puts the prior values back, and a deployment configuration the service did not have is put back as none.

Signed-off-by: Oleksandr Nikolaichuk <sekator778@gmail.com>
2026-11-09 09:06:12 -04:00
Priamo Germosen dd777b7f62 fix(route53): answer Floci's own names with the DNS server's address (#7728)
A private hosted zone's CNAME, or alias A record, whose target is one of
Floci's own names (localhost.floci.io, localhost.localstack.cloud, the
configured hostname, the extra DNS suffixes) resolved to
InetAddress.getLocalHost(). That lookup takes the first of the
container's networks by name, so after Floci restarts still on a network
it made, an EMR cluster's or an EC2 VPC's, it could answer with Floci's
address there, one the container asking is not on, as #7636 found for
the embedded DNS server's own address.

The record source now answers with the address the embedded DNS server
answers those names with itself, which #7636 has it take from
CurrentContainerNetworkResolver, so a record pointing at one of Floci's
names resolves as the name does. getLocalHost answers only where that
server has no address.
2026-11-08 23:56:13 -06:00
Daniël van Ziel 4e5c60cd58 fix(scheduler): honor MaxResults and NextToken in ListScheduleGroups and ListSchedules (#7187)
Both list operations now page through the shared Pagination helper, return NextToken only while items remain, and answer an out-of-range MaxResults or a foreign or malformed NextToken with ValidationException. NamePrefix, State and ScheduleGroup filtering apply before paging.

Fixes #6720

Let the namespaced Pagination overload take the reject-empty-token flag that
paginateUnencoded already uses, and drop SchedulerService.requireNonEmptyToken.
Explain why the compatibility test's best-effort cleanup ignores failures.
2026-11-09 01:53:04 -04:00
Niels Kootstra b93afa9e89 fix(apigatewayv2): page GetApis with MaxResults and NextToken (#7770) 2026-11-09 01:30:45 -04:00
Alexy Grabov 6e3bdaf9ef fix(opensearch): return endpoint without scheme (#7766)
Closes #7707
2026-11-08 18:37:00 -04:00
Allen Sanborn 3701d4d041 feat(ec2-instance-connect): SendSSHPublicKey, verified by the unmodified AWS agent (#7473) 2026-11-08 18:24:23 -04:00
Allen Sanborn 0de5566d22 feat(ec2): bind the host's /lib/modules read-only into systemd guests (#7354)
A systemd guest shares the Docker host's kernel but ships none of its
modules, so `modprobe br_netfilter` (Kubernetes node setup, e.g. Kubernetes
The Hard Way lab 9) fails with "Module not found in directory
/lib/modules/<kver>" even when the module is built in. kind binds the
host's tree the same way. Docker creates a missing bind source as an empty
directory, so hosts without /lib/modules still launch.

Privileged systemd guests can now load any module in that tree into the
shared host (or Docker Desktop / OrbStack VM) kernel, so docs/services/ec2.md
carries a warning saying so.

test(ec2): prove a systemd guest gets /lib/modules read-only on a real daemon

Ec2SystemdGuestDockerIntegrationTest launches through the real
Ec2ContainerManager container spec against Docker, with an Alpine image
standing in for a systemd cloud image (its busybox /sbin/init stays up as
PID 1), and checks the mount both from the daemon's inspect and from the
guest's /proc/mounts. It is skipped when Docker is unavailable.

docs/services/ec2.md now says that on Docker Desktop or OrbStack the tree
is the VM's and may not match its running kernel, and states exactly when
an instance runs privileged: only with security-group enforcement off. With
enforcement on, the guest joins the protected namespace unprivileged, and a
namespace that cannot be created fails the launch.

docs(ec2): say the read-only modules mount does not bind a privileged guest; keep test cleanup from masking failures

The read-only bind keeps an unprivileged guest from changing the tree, but a
privileged guest can remount it read-write, so the first paragraph no longer
claims the guest cannot load a module the host kernel lacks.

The systemd guest test now logs a failed container removal instead of
throwing it over the assertion error it is reporting.

fix(ec2): bind only the running kernel's /lib/modules dir into systemd guests; tear down the integration test via terminate()

test(ec2): pin that the guest's /lib/modules outside the bound kernel dir stays writable; document missing-dir and linux-modules caveats
2026-11-08 18:24:08 -04:00
jibin-jusdb 42b28be218 feat(elasticache): support snapshots of cluster-mode-disabled replication groups (#7744) 2026-11-08 18:21:24 -04:00
jibin-jusdb 46f0d91716 feat(rds): CreateDBSnapshot and RestoreDBInstanceFromDBSnapshot for MySQL and MariaDB (#7747)
* feat(rds): CreateDBSnapshot and RestoreDBInstanceFromDBSnapshot for MySQL and MariaDB

A snapshot of a MySQL or MariaDB instance is a mysqldump (mariadb-dump) of
every user schema, with routines, triggers and events, taken as the master
user, followed by every non-system account recreated from SHOW CREATE USER
and SHOW GRANTS. Restoring replays it into the new instance once its server
accepts the master user over TCP, so the copy is never loaded into the
image's initializing server. SQL Server is still refused.

* fix(rds): copy roles and names with spaces in MySQL and MariaDB snapshots

Roles are now part of a MySQL or MariaDB snapshot: MariaDB roles are
recreated with CREATE ROLE, and MySQL accounts used as roles are created
first, since SHOW CREATE USER names an account's default roles. Every role
and account exists before any grant is replayed, so a user granted a role
restores. Schema and account names are read one per line, so names with
spaces stay one argument. The integration test retries through one
Awaitility helper and covers a role and a schema name with a space.

* fix(rds): wait for the server before a MySQL dump, and share the snapshot script runner

CreateDBSnapshot straight after CreateDBInstance failed: Floci reports the
instance available while the image still initializes it on a server that
does not listen on TCP. The dump script now exits 2 until the master user
can log in over TCP and is run again, as the restore is; past that probe
any failure, mysqldump's own exit 2 included, exits 1 so it is not retried.

The PostgreSQL restore, the MySQL dump and the MySQL restore now share one
runner for the upload, the exit-2 retry and the error handling.
2026-11-08 18:18:55 -04:00
Aniket Shukla 6be18ea1ee fix(lambda): remove containers orphaned by previous runs (#7734)
Label runtime and code-copy containers with protected deployment and run identities. Reconcile previous runs at Docker startup and retry incomplete cleanup on cold starts, preserving current environments and named volumes.

Honor the Lambda reconciliation switch at startup and before cold starts. Share the owned-container sweep with ECS, retaining each service run policy and reporting persistent failures once until recovery.
2026-11-08 18:16:48 -04:00
Murtuza Chhil 6130fe9568 feat(paymentcryptography): the PIN operations (#7397) 2026-11-08 18:15:17 -04:00
Mario Toffia c44a8722f8 fix(apigateway): count usage plan calls per key and enforce quota and throttle (#7665) 2026-11-08 18:09:55 -04:00
galsuchetzky-act 01c84245a7 fix(cloudformation): deploy a service-managed stack set to accounts that join or leave its targets (#7243) 2026-11-08 18:01:22 -04:00
Vũ Thế Huy e0692092b5 feat(redshift): support CopyClusterSnapshot API action (#7748) (#7750)
* feat(redshift): support CopyClusterSnapshot API action (#7748)

* fix(redshift): address review findings and sync docs for CopyClusterSnapshot (#7748)

* refactor(redshift): simplify CopyClusterSnapshot using existing helpers (#7748)

Drop Tags, KmsKeyId and the ARN branch, which CopyClusterSnapshotMessage does not carry.
Reuse validateManualRetention (InvalidRetentionPeriodFault), takenFrom and SnapshotDumpCopier.copy,
and share the automated-snapshot setup across the new tests.
2026-11-08 17:56:25 -04:00
Suja Shaj e27a307622 fix(cloudformation): give an instance its launch template's instance profile (#7761)
An AWS::EC2::Instance that names a launch template took the template's
image, type, key and metadata options but never its IamInstanceProfile,
so describe-instances showed no profile. When the instance declares no
profile of its own, it now launches with the template's, resolved the
same way RunInstances resolves it. The instance's own profile still wins.

A stack update that moves the instance to a template version naming
another profile, or none, changes or removes the profile in place, and a
dropped LaunchTemplate removes the profile it supplied. A rollback of an
update that changed the profile, whether the instance or its template
declared it, now puts the previous profile back instead of ending
UPDATE_ROLLBACK_FAILED.

Part of #7603
2026-11-08 05:25:15 -04:00
Mario Toffia fd8be9afee fix(ecr): pull rewritten ECR images from an address Docker Desktop reaches (#7752)
* fix(ecr): pull rewritten ECR images from an address Docker Desktop reaches

Docker Desktop's daemon runs in a VM and dials localhost there, where a host
port Docker chose for Floci is not bound, so pulls of rewritten ECR images timed
out. On Docker Desktop, rewrite to <account>.dkr.ecr.<region>.localhost:<port>,
which Desktop sends through its host proxy and pulls over plain HTTP.

* fix(ecr): warn when the Docker daemon's operating system cannot be read

The rewrite then falls back to localhost, which Docker Desktop cannot reach, so the later pull timeout needs this cause next to it.
2026-11-08 05:19:22 -04:00
Niels Kootstra 30db535f2e feat(bedrock): list and get foundation models and system-defined inference profiles (#7675)
* feat(bedrock): list and get foundation models and system-defined inference profiles

fix(bedrock): resolve only ARNs that name the catalog resource in the calling Region, and report on-demand inference only where a model is served in-Region

fix(bedrock): accept SPEECH and VIDEO output modalities and refuse an unserved model with ValidationException

fix(bedrock): report enum violations and read the model catalog through the shared helpers

An invalid ListFoundationModels or ListInferenceProfiles enum value now
answers with the "1 validation error detected:" prefix AWS sends and
lists the allowed values in the model's order.

* fix(bedrock): answer an unresolvable model or profile identifier with the error AWS returns

GetFoundationModel answers an unknown model id or an ARN that names no
foundation model in the calling Region with ValidationException.
GetInferenceProfile answers an ARN of another service or without an
account with ValidationException, and one of another account with
AccessDeniedException; one of another Region stays ResourceNotFoundException.
2026-11-08 05:02:41 -04:00
jibin-jusdb 46a8cbe51d feat(docdb): support cluster snapshots and restores (#7585)
Adds CreateDBClusterSnapshot, DeleteDBClusterSnapshot, RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime, and makes DescribeDBClusterSnapshots list stored snapshots. A snapshot is a mongodump archive of the cluster's MongoDB container; rds-signed requests naming a DocumentDB cluster or snapshot are routed to DocumentDB.

fix(docdb): round out cluster snapshots and restores after review

List DocumentDB snapshots in the RDS-family list form on either endpoint, accept snapshot ARNs, keep the source's encryption and key on restore, check restore and snapshot identifiers against RDS too, read a point-in-time restore's data as a snapshot does, refuse RestoreToTime, apply every describe filter, and remove a cluster whose restore failed even under deletion protection. Drop the unrelated endpoint host, container-name host and audit log group changes. Cover the archive reaching the restored cluster outside mock mode.

Read a snapshot's record and archive together under the snapshot lock delete takes, and refuse a restore whose archive is missing or empty before any cluster exists; a snapshot taken in mock mode is marked metadata-only and restores only in mock mode. A KmsKeyId on RestoreDBClusterFromSnapshot now encrypts the restored cluster under that key even when the snapshot is unencrypted, as the restore guide allows; the point-in-time restore still refuses one for an unencrypted source. Share the docdb-scoped request in the integration test.
2026-11-07 09:58:08 -04:00
Oleksandr Nikolaichuk 3c66249375 fix(cloudformation): clear dropped stage variables and instance user data (#7736) 2026-11-07 09:56:25 -04:00
Mario Toffia 413f490d8c fix(apigateway): filter GetUsagePlans by keyId (#7655) 2026-11-07 09:52:39 -04:00
Jimmy Liu Jia 6e75e4096e feat(securityhub): import and query ASFF findings (#7692)
fix(securityhub): validate provider fields and preserve default product metadata

fix(securityhub): preserve custom names and reconcile provider updates

fix(securityhub): prefer provider fields on first import

docs(securityhub): update findings operation count

fix(securityhub): validate initial verification state
2026-11-07 09:18:47 -04:00
Hector Ventura 87eaaab92d feat(stepfunctions): evaluate the execution role on DynamoDB, S3, RDS Data and Redshift Data tasks (#7722)
Under IAM enforcement, these tasks are now authorized as the execution role, or as the Credentials role a state names. DynamoDB is checked as a direct request is: batches on each table, transactions by each item's own action, ListTables on its regional collection and statements by what they do. S3 putObject is checked on the object in the bucket's own partition, and a bucket policy can grant or deny. RDS Data needs the action on the cluster and GetSecretValue on the secret. Redshift Data needs what an EventBridge target needs, and its statement operations are checked on any resource.

A request naming nothing it can reach is left to its service. With enforcement off nothing changes.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-07 09:16:40 -04:00
Vũ Thế Huy 08be536e15 feat(redshift): support audit logging to S3 (RS-14 / INT-08) (#7699) 2026-11-07 09:14:49 -04:00
Priamo Germosen 6974d8c096 feat(emr): give a cluster with HCatalog Hive's client and metastore (#7719)
A docker cluster ran Hive steps, made its steps' image with Hive and ran
Hive's metastore service on its primary node only when its Applications
named Hive. EMR installs Hive's client and its HCatalog server with
HCatalog too, and the Release Guide's HCatalog page says "HCatalog is a
tool that allows you to access Hive metastore tables within Pig, Spark
SQL, and/or custom MapReduce applications".

- EMR's hive-script, in the emr-scripts package every node has, checks
  only "which hive" ("Hive isn't installed." otherwise), and the hive
  it finds is hive-client's, which HCatalog installs, so a Hive step
  runs on a cluster with HCatalog alone.
- Its HCatalog server, hcatalog-server, is the metastore service:
  Hive's hcat_server.sh runs "hive --service metastore".

So a cluster whose Applications name HCatalog installs Hive as one
naming Hive does: its Hive steps run, in the release's image with Hive,
on the metastore service its primary node runs, which its Spark steps'
Hive client uses too.

An emr-spark-* release, the AWS runtime for Apache Spark, includes
neither ("This release includes the following applications:
AmazonCloudWatchAgent, Delta, Hudi, Iceberg, JupyterEnterpriseGateway,
Livy, and Spark."), and has no Hive image to make its steps' image with
Hive from, so a cluster of one installs neither, whatever its
Applications name; one naming Hive asked for that image since #7459.

emr.md now backs a cluster's Spark steps using its metastore with the
Release Guide's EMR pages, in place of the Glue page #7636 quoted:
Spark's default catalog "always connects to a Hive metastore", and
Using HCatalog has Spark SQL read a table the HCat CLI made.
2026-11-07 00:34:27 -06:00
Andre Kurait cab81a268b fix(stepfunctions): accept SDK Uuid for mapping updates (#7720)
Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-07 02:28:31 -04:00
Jimmy Liu Jia 856970a24f feat(apigateway): add documentation part operations (#7712) 2026-11-07 02:09:21 -04:00
Robert Stupp a99119e3b9 fix(ec2): report block-device attachment failures (#7690) 2026-11-07 02:05:34 -04:00
Priamo Germosen ba9a9c8155 feat(emr): run Hive's metastore service on a docker cluster with Hive (#7636)
A cluster's Hive steps kept their metastore in an embedded Derby
database in the cluster's /mnt, so only one Hive step at a time could
use it ("Another instance of Derby may have already booted the
database"), and Spark steps, with a catalog of their own, saw a Hive
step's tables only through the Glue Data Catalog. "By default, Hive
records metastore information in a MySQL database on the primary node's
file system", and the Glue Data Catalog is the one to pick "when you
require a persistent Hive metastore or a Hive metastore shared by
different clusters".

- On a cluster whose Applications name Hive, the primary node's
  container runs Hive's metastore service on port 9083, once its HDFS
  is up: with the image's Hadoop configuration, as Hive steps run, the
  cluster's HDFS, its Derby database in the node's own volume, which
  only the service opens, and its warehouse in the HDFS. The node is
  ready once it listens, and ends if it exits, as for the HDFS daemons.
- It is on the cluster's own Docker network with the HDFS, so only the
  cluster's steps reach it. It reaches tables' S3 locations through S3A
  on Floci's S3, with a session for the cluster's EC2 instance
  profile's role, which goes with the container: at the host's address
  when Floci runs on the host, and as floci when Floci runs in a
  container, which joins the cluster's network for it, as it joins EC2
  VPC networks, and leaves it when the HDFS container goes. A start
  that fails, or a container an earlier Floci left, does not keep
  Floci there, and one Docker keeps Floci on stays known for the next
  teardown.
- It gets the cluster's core-site and hive-site after its own
  settings, as EMR's primary node does, so a hive-site warehouse folder
  holds for it as for the steps. One an earlier Floci left running
  starts again, as its session went with that Floci, and so does one
  given Floci's address before Floci could join its network.
- A Floci that crashed is still on that network when it starts again,
  and Docker lists it first, so what Floci launched then joined it and
  reached the cluster's HDFS and metastore. Floci's own network is no
  longer one it made, an EMR cluster's or a VPC's, its earlier owner
  label included, or one Docker cannot inspect, unless it is on no
  other, and its DNS server takes its address from that network.
- In a namespace the steps share, host or container:<id>, it does not
  run: Hive 3.1 has no setting for the address it listens on, so it
  would serve every interface of the namespace. Hive steps keep the
  embedded Derby database there, as they do with no network.
- Hive steps get its URI in place of the embedded Derby settings, and
  Spark steps' Hive client gets it too, so a Spark step reads a Hive
  step's tables and makes tables a Hive step reads; a hive-site or
  spark-hive-site naming the Glue Data Catalog's client factory still
  uses Floci's Glue.
- Two Hive sessions starting at once both upload Hive's exec jar to
  the same HDFS folder when it is not there, and one could launch Tez
  tasks with a jar that changed under it, so the primary node puts it
  there first, under the name Hive gives it.

EmrHiveStepsDockerIntegrationTest runs two Hive steps at once on a
cluster's metastore, and a Spark step that reads a Hive step's table
and makes one the next Hive step reads.
2026-11-06 23:02:33 -06:00
Priamo Germosen ee2cdfc4f8 docs(iam): close the service principal's comma on what AWS publishes (#7617)
`CreateServiceLinkedRole`'s AWSServiceName was left with one question open.
The capture on #6042 quotes [\w+=.@-]* for it, without the comma the
vendored shape admits, and nothing recorded said whether AWS takes a comma
or refuses one, so the shape kept the model's pattern and the message the
captured text.

AWS's own API Reference entry for the operation answers the part that
matters. It gives the member a minimum length of 1 and the pattern
[\w+=,.@-]+, the comma included, which is what botocore declares for the
shape it aliases the member to as well. The comma is therefore what AWS
documents for this member rather than something that aliasing brought
along, the captured message is the only source that drops it, and a message
answers for the text a violation carries rather than for what a value is
held to. So what a principal is held to stays the published pattern and
nothing moves about what this service admits. The minimum is published
there too, which is why an empty principal stays refused for a reason of
AWS's own rather than the model's alone.

What is left is a reading worth pinning rather than inferred again: a
principal carrying a comma clears the shape and reaches the lookup, where a
service no recording covers has its role name derived from the principal's
labels, the answer any unrecorded principal gets. That reasoning lives in the
docs page alone, with the generator's comment and the test's javadoc pointing
at it, and a capture of AWS refusing a comma as a pattern violation moves the
quoted-pattern entry, the shapes file a regeneration writes from it, and that
test.
2026-11-06 23:02:22 -06:00
Priamo Germosen 6110825561 fix(iam): check the tags an OpenSearch domain is created with (#7616)
OpenSearch's CreateDomain and the legacy CreateElasticsearchDomain store
the TagList they carry, but the tag-on-create table did not read the
`es` namespace, so under IAM enforcement a caller allowed to create a
domain could tag it with no es:AddTags, and a policy allowing the create
only with some tag did not hold. The reason the generator gave, that no
rule maps its REST routes, has not been true since they were vendored.

`es` moves to the generator's namespaces. The Service Reference lists
OpenSearch Service's operations for the `es` client alone, so, as the
request-resources generator does, an operation of a vendored REST model
it lists for no client is read as the action of its own name: it needs
the tagging actions of the operations the reference lists that action
for, and is checked with the request's tags when that action takes
them. The `opensearch` client's CreateDomain is es:CreateDomain, which
the reference lists for CreateElasticsearchDomain beside es:AddTags, as
the OpenSearch Service developer guide's policy for creating a domain
only with a tag grants es:CreateDomain and es:AddTags. Both creates now
need es:AddTags on the domain they name, and are checked with the tags
as aws:RequestTag/<key> and aws:TagKeys (587 operations over 72
namespaces, no other entry changed).

The handler also read a TagList the model does not allow, and not as the
check reads it: a tag with no value was dropped, though the check lets it
replace an earlier tag of its key, and an object's structures were tags,
though the check lets a member of the same name replace them. Either got
a denied tag past a deny on it. The model requires a list of tags, each
with a Key of 1 to 128 characters and a Value of up to 256, so CreateDomain
and AddTags now refuse anything else with a ValidationException, before
changing anything, and the tags checked are the tags a domain gets.
2026-11-06 23:02:09 -06:00
Andre Kurait d6aed932a1 fix(ecr): paginate repository descriptions (#7711)
Preserve named lookups and bind continuation tokens to region and account.

Signed-off-by: Andre Kurait <akurait@amazon.com>
2026-11-06 20:47:00 -04:00
Murtuza Chhil 4617e4a4f8 feat(paymentcryptography): the data plane as a service of its own (#7396)
* feat(paymentcryptography): the data plane as a service of its own

docs(paymentcryptography): the data plane has a page of its own

fix(paymentcryptography): a MAC under a three-key Triple DES key is computed

test(paymentcryptography): a key of another purpose does not encrypt data

feat(paymentcryptography): the data plane's IAM is generated

fix(paymentcryptography): a DUKPT MAC needs a base derivation key

fix(paymentcryptography): a key whose material is not held is refused

docs(paymentcryptography): the data plane's example runs

test(paymentcryptography): the data plane through the AWS SDK

test(paymentcryptography): the data plane through the AWS CLI

fix(paymentcryptography): the CLI test removes the keys it makes

docs(compat): the AWS CLI suite names the data plane

test(paymentcryptography): the route is read as the registry reads it

test(paymentcryptography): the request names its method and its URI

fix(paymentcryptography): the cipher pads no data

fix(paymentcryptography): the data plane takes the service scope

fix(paymentcryptography): a MAC length that is not a number is refused

docs(paymentcryptography): the data plane says the cipher pads no data

fix(paymentcryptography): the data plane ciphers with Triple DES as well

fix(paymentcryptography): the scope alias names the model's scope

fix(paymentcryptography): the Triple DES cipher is BouncyCastle's

fix(paymentcryptography): the usage and the blob keep their comments

fix(paymentcryptography): a key's family is read from its algorithm

fix(paymentcryptography): the cipher reads the vector through one helper

test(paymentcryptography): the keys are built by one builder

fix(paymentcryptography): the data plane checks the model's rules

fix(paymentcryptography): the Triple DES check value is BouncyCastle's

fix(paymentcryptography): the SDK names it TDES_2_KEY

docs(contributing): the ciphers come from BouncyCastle

refactor(paymentcryptography): the model owns the request shapes

refactor(paymentcryptography): the ciphers are BouncyCastle's

test(compat): one helper makes a key of either algorithm

docs(contributing): the cipher rule comes out

fix(paymentcryptography): the refusals are the model's

refactor(paymentcryptography): the ciphers are one helper each

refactor(paymentcryptography): the generators share the helper

docs(paymentcryptography): the javadocs name both ciphers

test(aws): the moved constants read from the shared helper

fix(paymentcryptography): the deprecated cipher constructors go

chore(paymentcryptography): the duplicate import goes

test(paymentcryptography): the DUKPT vectors the standard publishes

fix(paymentcryptography): the DUKPT refusal is the derivation's

docs(paymentcryptography): the retail MAC is over a double-length key

fix(paymentcryptography): the ISO 9797-1 MAC pads only a partial block

refactor(paymentcryptography): the refusals the model already makes

chore(aws): the routes are generated from the models again

* chore(aws): the IAM resources are generated again
2026-11-06 20:05:00 -04:00
Joe Ebmeier d9f0bab177 fix(s3): preserve encryption fields on browser POST uploads (#7646)
fix(s3): authorize POST encryption settings and report them

fix(s3): reject incompatible POST encryption fields

fix(s3): normalize POST encryption before authorization
2026-11-06 19:47:59 -04:00
Vũ Thế Huy 8cff513c8d feat(redshift): take an S3 bucket as the source of an integration (#7466)
CreateIntegration accepts arn:aws:s3:::bucket with a Serverless namespace or cluster target. The bucket must exist in the integration's Region and have no period in its name, a bucket joins a target once, and a target takes at most 50. The integration reports SourceType s3-event-notifications, starts no poller and publishes no zero-ETL events.

fix(redshift): validate S3 integration source and target identities

fix(redshift): resolve unstored S3 bucket Region in default Region

Fall back to the deployment default Region when an S3 bucket has no stored Region, match bucket partition using RegionResolver.partitionForRegion, and remove the unused two-argument RedshiftZeroEtlEndpoints constructor.
2026-11-06 19:20:05 -04:00
luiseterc 1ce40a1c79 fix(iam): populate stored caller principal tags (#7591) 2026-11-06 19:14:20 -04:00
jwoa95 983fdecc79 feat(elbv2): make backend HTTP connection reuse configurable (#7557)
Expose backend keep-alive and idle-pool timeout controls while retaining the existing defaults. Preserve target failures without replaying uncertain requests, and document target timeout hints and local transport limits.

Validate negative idle timeouts with a Floci-specific error before creating clients, and attempt every fixture cleanup step while preserving aggregated failures. Cover negative, zero and positive configuration values and real-listener connection behavior.

Closes #7524

test(elbv2): replace timer-dependent backend checks
2026-11-06 19:11:17 -04:00
Mario Toffia 2df2a1e149 fix(ecs): give an awsvpc task the address it reports (#7645)
With Docker-backed VPC networks, one container of an awsvpc task joins
its VPC's Docker network at the task ENI address, so the address
DescribeTasks reports answers. A Lambda function with VpcConfig joins
the same network at an address leased from its first subnet, skipping
addresses an interface already holds, and returns it once its container
is removed. Peer and Cloud Map addresses still resolve on the network a
container was created on.

Closes #7639
2026-11-06 19:10:49 -04:00
Hector Ventura 7cf443fcee chore: rename the package to io.floci.aws (#7689)
Move the Java sources from io.github.hectorvent.floci to io.floci.aws, matching io.floci.gcp, io.floci.az and io.floci.oci. Generated by tools/rename/rename_package.py apply on the base commit, with no other edits.

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

Refs #6589

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-06 11:07:21 -04:00
Oleksandr Nikolaichuk 0cb45a86df fix(cloudformation): keep NAT gateway secondary addresses the stack never declared (#7669)
* fix(cloudformation): keep NAT gateway secondary addresses the stack never declared

* test(cloudformation): keep NAT gateway secondary addresses the stack never declared

* fix(cloudformation): a null NAT gateway secondary property counts as not declared

* test(cloudformation): a null NAT gateway secondary property counts as not declared
2026-11-06 09:28:00 -04:00
jwoa95 f8670f64fb feat(quicksight): add metadata APIs and limited registered-user embedding (#7529)
Closes #7522

Origin comparisons preserved host casing and default ports, CSP named only the immediate parent, and expired sessions remained in storage indefinitely. Normalize both sides of origin checks, allow all configured ancestors, and reap expired sessions across accounts with the shared sweep worker.
2026-11-06 09:11:30 -04:00
luiseterc 5058163409 fix(route53): resolve private SRV records with stored values (#7587) 2026-11-06 09:08:09 -04:00
luiseterc c3058a8de4 fix(iam): generate resource and request tag condition context (#7589) 2026-11-06 09:02:14 -04:00
Vũ Thế Huy 576646aae7 fix(redshift): run COPY ETL options on PostgreSQL 15 across protocols (#7514) 2026-11-06 08:50:21 -04:00
Hector Ventura b1ba11c61e feat(stepfunctions): evaluate the execution role on SNS and EventBridge tasks (#7622) 2026-11-06 08:34:39 -04:00
Oleksandr Nikolaichuk fd29b4aa32 test(cloudformation): record and ratchet what a dropped property does (#7599) 2026-11-05 16:21:36 -04:00