Commit Graph
887 Commits
Author SHA1 Message Date
Murtuza Chhil 017e635edf feat(paymentcryptography): the AS2805 KEK validation (#9065)
GenerateAs2805KekValidation is served on the Payment Cryptography data
plane. Two AS2805 nodes prove they hold the same key encryption key: the
request form makes a random number with Single DES odd parity and returns
it enciphered under one variant of the key, and the response form
deciphers a number, inverts it and returns it enciphered under another
variant. The key is a Triple DES TR31_K0 key encryption key; the request
form needs Encrypt and the response form both Decrypt and Encrypt.

The AS2805 Triple DES check and the key lookup now live in
PaymentCryptographyKeyRules, shared with the key exchange, card
validation, authorization cryptogram and PIN operations.
2026-11-20 14:07:01 -04:00
Don HavelbergandDolev Hacohen 546065dc53 fix(lambda): queue throttled asynchronous invocations with backoff (#9071)
Co-authored-by: Dolev Hacohen <dolev.hacohen@forcepoint.com>
2026-11-20 06:54:32 -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
Murtuza Chhil 09125016fe feat(paymentcryptography): the modes and the keyed hash the reference names (#8984) 2026-11-19 13:33:35 -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
rajp33 4d12c76411 fix(rds): refuse plaintext PostgreSQL connections when rds.force_ssl is 1 (#8663)
With rds.force_ssl set to 1 in a PostgreSQL instance's DB parameter group, or in an Aurora PostgreSQL cluster's DB cluster parameter group, the RDS auth proxy refuses a startup that did not negotiate TLS with FATAL "no pg_hba.conf entry for host ..., no encryption" (SQLSTATE 28000), before the password exchange and without opening a backend connection. The value is read from the current parameter group on every new connection, as the parameter is dynamic on AWS. On Aurora it comes from the cluster parameter group only, looked up in the account and Region the relay ARN names, for the cluster endpoint and member endpoints. RdsRequests.createPostgresInstance takes an optional DB parameter group, and the docs give the RDS and Aurora PostgreSQL versions whose default groups force SSL.

Closes #8641
2026-11-19 07:52:07 -04:00
Murtuza Chhil d2fde68865 feat(paymentcryptography): the material of a key may be translated (#8941)
* feat(paymentcryptography): the material of a key may be translated
* test(paymentcryptography): the sample's key agreement in the compatibility test
* test(paymentcryptography): the wrapped key's format is the model's enum
* fix(paymentcryptography): a verification reads the formats the reference verifies
* docs(paymentcryptography): the deviations the reference's documentation shows
* test(compatibility-tests): a verification of a format the reference does not read
* fix(paymentcryptography): a translation holds to the rules the export and the import hold to
* fix(paymentcryptography): a translation refuses a key whose usage its algorithm does not serve
2026-11-19 07:08:29 -04:00
Hector Ventura 3b695e25d2 test(compat): make the Java suite pass in every partition the nightly runs (#8958)
* test(compat): make the Java suite pass in every partition the nightly runs
2026-11-19 07:00:30 -04:00
Charles Swanberg 8d005d70d0 fix(codebuild): run a build as its project's service role (#7844)
* fix(codebuild): run a build as its project's service role
* fix(codebuild): fail a build whose role does not exist in PROVISIONING, and share confirmed removal
2026-11-18 21:10:52 -04:00
rajp33 813f89bd8e fix(iot): authenticate unsigned MQTT over WebSocket with the default authorizer (#8653) 2026-11-18 21:04:28 -04:00
Murtuza Chhil 3f3625359a feat(paymentcryptography): a key pair signs a certificate signing request (#8832) 2026-11-18 13:35:25 -04:00
Murtuza Chhil e6f4758bc1 feat(paymentcryptography): the Multi-Party Approval team of an operation (#8812)
* feat(paymentcryptography): the Multi-Party Approval team of an operation
* docs(paymentcryptography): what the Multi-Party Approval does not make
* docs(paymentcryptography): the action table in the order the handler names
* style(paymentcryptography): the multi-region work comes with the branch
* fix(paymentcryptography): the tests of the team share the operation they name
* fix(paymentcryptography): the removal does not change what a lookup holds
2026-11-17 22:52:57 -04:00
Murtuza Chhil 33ed71437d feat(paymentcryptography): a deletion is scheduled, and it can be cancelled (#8799)
DeleteKey removed a key at once, so there was no waiting period and nothing to cancel. It now schedules the deletion: the key is disabled and kept as DELETE_PENDING, with the moment the deletion takes effect after the DeleteKeyInDays waiting period (seven days by default), and it keeps its aliases, tags and resource policy. Floci does not sweep the period, so the key stays pending. RestoreKey cancels the deletion: the key returns to CREATE_COMPLETE without a pending timestamp and stays disabled until StartKeyUsage, as the guide's example shows. Replicas carry the pending state and its timestamp, a replica is not restored on its own, and a pending key refuses another deletion, StartKeyUsage and StopKeyUsage with ConflictException.
2026-11-17 21:23:28 -04:00
rajp33 d7c2616c72 fix(rds): accept IAM auth for PostgreSQL logical replication connections (#8671) 2026-11-17 17:00:09 -04:00
Jackson Price a086572321 test: preserve IAM and STS fixture failures during cleanup (#8758) 2026-11-17 12:59:07 -04:00
Murtuza Chhil 10445d89d8 feat(paymentcryptography): the use of a key can be stopped and started (#8749)
StartKeyUsage and StopKeyUsage enable and disable a key and answer with the key as it now stands. The key changes only when its enablement changes: a stop records UsageStopTimestamp, a start records UsageStartTimestamp and clears the stop moment, and a request that names a key already in that state keeps the moment it changed. A request that names a replica is refused, and a change on the primary reaches its replicas. The service takes those moments from the clock it is given, and the new integration tests delete the keys they make.
2026-11-17 12:49:56 -04:00
Jackson PriceandAndre Kurait bd71d037c3 test(ecs): isolate Fargate compatibility network resources (#8723)
EcsFargateTest took the first subnet it found, so its tasks could attach to another test's network. It now owns a VPC and subnet through Ec2TestNetwork, gives its cluster and task family unique names, and registers each client, the network, the cluster, the task definition and every task it starts for teardown in reverse order, stopping each task before the network goes. FixtureCleanup, now shared with StepFunctionsHttpInvokeNativeTest, runs every action and adds the failures to the test's own failure, or fails the run with all of them when the test passed.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-17 10:59:05 -04:00
Murtuza Chhil 91943a061c feat(paymentcryptography): the resource policies of a key (#8702)
Payment Cryptography keys now take a resource-based policy through PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy. The policy is stored on the key, so it goes when the key goes, and it is not enforced. A document that is not a JSON object or carries trailing content, a policy with no statement, a statement that names no effect, principal, action or resource, a Resource that is neither the wildcard nor the key's own ARN, and a policy on a replica key are refused with ValidationException. An unconditional Allow that reaches everyone, through a wildcard Principal or a NotPrincipal that excludes someone, is refused with PublicPolicyException, and GetResourcePolicy on a key without a policy answers ResourceNotFoundException. Reading a policy's statements and checking for an everyone principal now live in iam.PolicyDocument, which S3, Secrets Manager and Payment Cryptography share.
2026-11-17 09:16:27 -04:00
Yang Hao 93c1d39348 feat(account): implement GetAccountInformation and PutAccountName (#8725) 2026-11-17 06:58:24 -04:00
Murtuza Chhil bd2e12737f style(paymentcryptography): the last three copies in the tests are one helper each (#8697) 2026-11-16 23:59:52 -04:00
Jackson Price bab6428f78 chore(cloudformation): reuse the launch configuration replacement decision (#8664)
Use the shared replacement decision for launch configurations, removing the duplicate ADDED guard now that #8471 makes an added create-only value require replacement for every resource type. The unit fixture derives that decision instead of forcing the obsolete false result.

Also make the negative card-validation fixture deterministic: it generates the valid value and changes its first digit, instead of a fixed 999 that could match the CVV for the randomly generated key.
2026-11-16 19:48:37 -04:00
rajp33 7872ef9c51 fix(rds): start PostgreSQL with wal_level=logical when rds.logical_replication=1 (#8619) 2026-11-16 16:37:04 -04:00
Priamo Germosen 16b0b516a0 fix(rds): accept a ModifyDBSnapshot that names nothing to change (#8633)
ModifyDBSnapshot refused a request naming neither EngineVersion nor
OptionGroupName with InvalidParameterCombination, "At least one snapshot
attribute must be specified.", a message AWS does not use. The model
requires only DBSnapshotIdentifier, and neither the API reference nor the
User Guide's snapshot upgrade pages tie any error to a request with nothing
to change, so such a request now returns the snapshot unchanged. A missing
snapshot and one that is not available are still refused as before.

The RDS docs record this as Floci's reading of an undocumented case.

Closes #4083
2026-11-16 15:41:03 -04:00
Murtuza Chhil 057684feac feat(paymentcryptography): the multi-region keys (#8541)
* feat(paymentcryptography): the multi-region keys
* fix(paymentcryptography): the multi-region replication refuses what it cannot carry out
* test(compatibility-tests): the multi-region tests leave the account as they found it
* fix(paymentcryptography): the default replication regions are the ones of the region
* test(compatibility-tests): the multi-region tests keep their settings to their own region
* docs(paymentcryptography): what the multi-region replication does
* fix(paymentcryptography): the rules the multi-region replication follows
* chore(paymentcryptography): the shape check settles the type of a list of names
* style(paymentcryptography): the accessor the edit left on one line
* docs(paymentcryptography): the page says what the replication does
* fix(paymentcryptography): the replica answers as the reference answers
* fix(paymentcryptography): a key is replicated within the partition it is in
* style(paymentcryptography): the rules the replication shares are written once
* fix(paymentcryptography): the partition of a region is the one its ARN carries
* style(paymentcryptography): the tests of the service share the key they make
* style(compatibility-tests): the compatibility tests share the key they make
2026-11-16 12:47:19 -04:00
Jackson Price 293514ca86 test(msk): wait for cluster readiness before SCRAM operations (#8573)
* test(msk): wait for readiness before SCRAM operations
2026-11-16 10:40:18 -04:00
Vũ Thế Huy 4f623d7b50 feat(redshift): add the SUPER and VARBYTE types and their functions (#8571) 2026-11-16 08:52:44 -04:00
Priamo Germosen 9eda97cf84 feat(emr-containers): emulate the EMR on EKS control plane (#8543)
Floci had no emr-containers service, so Airflow's EmrContainerOperator, the
aws emr-containers CLI and the SDKs had nothing to call. This adds its 25
operations: virtual clusters, job runs, job templates, managed endpoints,
security configurations and tags.

Job runs follow the job run states without running Spark on Kubernetes: a
run completes as soon as it is submitted, or after
floci.services.emrcontainers.job-run-duration-seconds. When Floci's EKS has
no cluster of the virtual cluster's container provider id, the run is FAILED
with "Cluster <id> does not exist." and CLUSTER_UNAVAILABLE, as AWS's "Common
errors when running jobs" page gives it; that page also gives the wording for
a job run on a missing or non-RUNNING virtual cluster. A job template's
${name} placeholders are filled from jobTemplateParameters or the parameter's
default. Deleting a virtual cluster clears its tags, as the development guide
says, only resources in an active state of the request's Region take tags,
and a job run's template and request tags together keep the 50-tag limit. A
virtual cluster created on an EKS cluster whose authenticationMode admits
access entries is access entry integrated, which ListVirtualClusters'
eksAccessEntryIntegrated filters on.

Every request is checked against botocore's emr-containers constraints,
vendored by tools/aws/regen_emr_containers_shapes.py and gated by make
aws-data-check. Routes sit under a signed-service prefix, so a path-style S3
request for a bucket named virtualclusters still reaches S3. The routes are
added to IAM's REST route table, and emr-containers to the IAM generators'
namespaces, so each operation is checked on the resource its path names,
StartJobRun and CreateManagedEndpoint need iam:PassRole on their
executionRoleArn, and the create operations need emr-containers:TagResource
for their tags, all from AWS's Service Reference.
2026-11-16 06:58:29 -04:00
Vũ Thế Huy 7a98f47742 feat(redshift-serverless): export the audit logs of a namespace to CloudWatch Logs (#8333) 2026-11-15 19:54:04 -04:00
Priamo Germosen 92a61c2b86 fix(s3tables): check S3 Tables requests under IAM enforcement (#8424)
Under IAM enforcement no S3 Tables request was checked: its model was
not among the vendored REST routes and its namespace's request
resources were not read, so no request mapped to an action and every
call went through, DeleteTableBucket and the policy calls included.

s3tables is now vendored by regen_rest_routes.py and read by the
request-resources, tag-on-create and passed-role generators. A table
bucket call is checked on the bucket its path names. A table's ARN ends
in an id the service mints, which no request carries: a request names
the table by its table bucket's ARN, its namespace and its name. A new
generic rule in the request-resources generator reads such a type,
found by its service by those path labels (or GetTable's query string
members, when tableArn is absent), instead of filling the bucket's name
from the table's name or reading the bucket's ARN as the table's.
S3TablesStoredResourceArns answers it from the stored table, read only.
2026-11-15 10:47:17 -04:00
Vũ Thế Huy 0de78cafb1 feat(redshift-serverless): rotate the managed admin password of a namespace (#8393) 2026-11-15 09:32:38 -04:00
Murtuza Chhil ff467b2e09 feat(paymentcryptography): the AS2805 key cryptogram (#8172)
ExportKey and ImportKey take an As2805KeyCryptogram: a TDES key leaves and
comes back under a TR31_K0 TDES key encryption key, bound to one of the
four AS2805 variants. The cryptogram carries a tag over the whole of it,
made under a key derived from the wrapping key and checked before anything
is decrypted, and the key's ANSI X9.24 check value, which the import
compares. A wrapping key that is not K0, not TDES or weaker than the key is
refused, as is a variant that does not match the key's purpose.

Bytes holds the concat, PKCS#7 padding and isHex the payment cryptography
classes kept copies of, and the SDK and CLI compatibility tests cover the
round trip and its refusals.
2026-11-15 08:44:38 -04:00
Rashen Anupama adfe173764 fix(s3): preserve bucket tags in TagResource (#8441) 2026-11-15 08:31:25 -04:00
Kenshin Okinaka 2cb54dad8f fix(ses): validate the SNS topic of an event destination (#8275) 2026-11-14 23:15:25 -04:00
Vũ Thế Huy 2d85e4ea3b feat(redshift): restore a single table from a snapshot (#8290)
Add RestoreTableFromClusterSnapshot and DescribeTableRestoreStatus for
provisioned clusters, and RestoreTableFromSnapshot, GetTableRestoreStatus
and ListTableRestoreStatus for Redshift Serverless. The table's CREATE TABLE
statement and rows are lifted out of the snapshot dump, renamed, and
replayed in one transaction. The restore runs inside the request, so a
described request is already SUCCEEDED or FAILED.

The name checks, script, pending copy, replay and status of a table restore
live once in RedshiftTableRestorer, and both services keep only their
lookups and storage. ListTableRestoreStatus answers a bad nextToken with
InvalidPaginationException. A Docker backed integration test writes rows,
snapshots, restores under a new name and reads them back, connecting through
RedshiftConnections, and the Redshift compatibility tests share one
TestFixtures.awaitRedshiftConnection.

Closes #7806
2026-11-14 20:43:18 -04:00
Kenshin Okinaka 4373e83af1 fix(ses): align export job lookup and cancel with SES (#8385)
Probed against SES on 2026-11-14:

- GetExportJob and CancelExportJob answer 404 NotFoundException
  "Job ID: <id> not found" for an unknown id shaped like a UUID, and keep
  400 "Invalid JobId" for any other id.
- CancelExportJob on an already cancelled job succeeds instead of being
  refused. A completed job is still refused.
- A cancelled job no longer gains a CompletedTimestamp.
- GetExportJob always returns the Statistics structure, empty until a
  record count exists.

The probe used one random UUID and one plain word, so the canonical UUID
form is Floci's reading of where SES separates the two errors.
2026-11-14 19:50:33 -04:00
Vũ Thế Huy d08c241d98 feat(redshift): scheduled actions that pause and resume provisioned clusters (#8260) 2026-11-14 13:28:06 -04:00
Yang Hao 5f03ff975d feat(account): implement GetContactInformation and PutContactInformation (#8262) 2026-11-14 01:04:49 -04:00
Murtuza Chhil 4cd8ab991e feat(paymentcryptography): the TR-34 key block (#8136)
* feat(paymentcryptography): the TR-34 key block
* fix(paymentcryptography): the rules a TR-34 key block has to follow
* docs(paymentcryptography): what a TR-34 key block is
* test(paymentcryptography): the TR-34 round trip shows the key that came back
* test(paymentcryptography): one exchange for the TR-34 tests
* fix(paymentcryptography): the nonce and the token a TR-34 import names
* docs(paymentcryptography): the nonce and the token a TR-34 import names
* fix(paymentcryptography): a TR-34 key block is read whatever follows it
* fix(paymentcryptography): a TR-34 header carries the optional blocks
* chore(paymentcryptography): the imports of the round-trip test in order
* fix(paymentcryptography): the TR-34 header is the reference's header
* fix(paymentcryptography): the TR-34 header, stale comments
* fix(paymentcryptography): the TR-34 comments match the code
2026-11-13 23:10:35 -04:00
Kal Cramer f1a6260a94 feat(cloudformation): add AWS::EFS::FileSystem, MountTarget and AccessPoint (#8074)
A template can now create the three EFS types. They are provisioned
through EfsService, so a stack and a direct API call see the same
file systems, mount targets and access points.

- Ref and Fn::GetAtt resolve for every type.
- Updates change ThroughputMode, ProvisionedThroughputInMibps,
  BackupPolicy, LifecyclePolicies, FileSystemPolicy,
  FileSystemProtection and tags in place; create-only properties
  replace the resource, and a failed update puts back what it changed.
- Backups are off on create unless BackupPolicy is ENABLED or the file
  system is One Zone, and ThroughputMode provisioned requires
  ProvisionedThroughputInMibps.
- Required properties are validated from the registry schema.

Ref #7972
2026-11-13 16:30:10 -04:00
Jackson Price 44eb096ed5 fix(appsync): require definition and format when creating types (#8157) 2026-11-13 15:42:57 -04:00
Priamo Germosen 9b24a38afe fix(iam): hold every policy document a write is handed to being a policy (#8175)
Seven writes take an IAM policy document and every one of them models
MalformedPolicyDocument, "the request was rejected because the policy document was
malformed". None of them answered it, so a document that was no policy at all was
stored and told apart only later, when something tried to decide with it. A role's
trust policy was the sharpest case: the trust evaluator reads a document it cannot
parse as matching nothing, so a role written that way could no longer be assumed.

The reading goes in IamService rather than at the Query front door, for two reasons.
Three CloudFormation provisioners write these documents straight through the service
and would otherwise be held to nothing. And the order AWS answers in differs per
operation, which only the service can express: CreateRole, CreatePolicy,
CreatePolicyVersion and UpdateAssumeRolePolicy read the document before the name
clash or the entity lookup, where PutUserPolicy, PutGroupPolicy and PutRolePolicy
answer NoSuchEntity for a holder that is not there whatever document the request
carried.

Which reading an operation asks for follows what the document is. A trust policy is
held to the grammar alone and under its own validator's wording, "This policy
contains invalid Json" for a text that does not parse as a JSON object and "Policy
has no statements" for an object carrying no Statement, the element the grammar
requires; its statements name a principal rather than resources, so an identity
statement's elements are not asked of it. An inline policy is held to that grammar
under the identity validator's one sentence for both, "Syntax errors in policy.",
and to the values the language defines: a Version outside 2012-10-17 and 2008-10-17,
an Effect that is not literally Allow or Deny, and a resource named neither by ARN
nor by the wildcard. A managed policy is held to those and to each statement's own
elements, "Policy statement must contain actions." and "Policy statement must
contain resources.".

None of those sentences is published and none is captured. They are the ones AWS's
own emulator answers, a first-party implementation rather than a recording, and the
split between the two validators' wordings is its reading too, which
docs/services/iam.md records.

The grammar is read in one place, not two. #8164 landed
IamPolicyEvaluator.readsAsPolicyDocument for a document a request supplies to the two
simulators or the two context-key readers, which asks exactly what the writes ask of
the top level: parses as a JSON object, and carries Statement. The writes need to know
which of the two failed in order to word their refusal, so the reading lives here and
that method is now its boolean face rather than a second copy of it.

Putting a document back is not a new write. A failed CloudFormation update restores
the trust policy, the inline policy or the policy version it captured before the
attempt, and a document an earlier release accepted must not be refused on the way
back: that would leave the role or the policy without what the rollback had just
removed, and the stack unable to roll back at all. So those three writes keep the
reading on their public entry point and the provisioners restore through
restoreAssumeRolePolicy, restoreRolePolicy and restorePolicyVersion, which apply the
same write without it. The inline-policy provisioner already restored by writing the
captured document straight back, so it needed nothing. This is the same rule as
reading a stored document exactly as it was, applied to the one path that writes one.

The whole text has to be the document. A member taking one takes "the complete, valid
JSON text of an IAM policy", and Jackson reads the first value and stops unless it is
told otherwise, so an object with anything after it parsed as a policy. The reader
enables FAIL_ON_TRAILING_TOKENS, which is what the reference implementation's parser
does by construction.

A null document is nothing to judge: a required member the request leaves out is
answered as absent by the constraints ahead of the operation. What is already stored
is read exactly as it was, so a document an earlier version accepted still decides
what it decided.

Holding every caller means holding the fixtures too, the compatibility suites
included: a Python and a Java SDK test each wrote an inline policy carrying only
Version, and two roles in the EKS access-entry test were created with a trust policy
of {}. All three are documents IAM refuses, the first two being the case recorded for
a document that is valid JSON carrying only Version.

Holding every caller means holding the fixtures too. Filler documents across the test
tree, "{}" as a trust policy chief among them, were documents real AWS refuses; they
now come from one place, io.floci.aws.testing.IamTestPolicies, which also answers a
distinct document per marker for a test that needs several. Two fixtures changed in
substance rather than in spelling: a Step Functions policy meant to name another
event bus named it by bare name, which an identity policy may not, and a managed
policy version's statements named no action.
2026-11-13 00:18:02 -04:00
Vũ Thế Huy 315367f21f feat(redshift): share a cluster snapshot with another account (#8077)
AuthorizeSnapshotAccess and RevokeSnapshotAccess record the accounts that may restore a
manual, available snapshot. The snapshot reports OwnerAccount and AccountsWithRestoreAccess,
DescribeClusterSnapshots takes an OwnerAccount filter that lists only what the owner shared
with the caller, and RestoreFromClusterSnapshot takes an OwnerAccount (or a SnapshotArn of
another account) and restores a shared snapshot from the owner's dump. A snapshot that is not
shared is refused with AccessToSnapshotDenied, and the grant does not outlive the snapshot.

IAM takes generated data only, so the RestoreFromClusterSnapshot correction is replaced by two
rules in regen_iam_request_resources.py. A top-level request member whose name ends in Account
gives the account of each type whose botocore structure has that same member: Snapshot has
OwnerAccount and Cluster does not, so the snapshot moves to the owner's account and the restored
cluster stays the caller's. Of several members that could fill a variable, one naming the type
before the variable wins over a bare one, so the snapshot's ClusterName comes from
SnapshotClusterIdentifier rather than ClusterIdentifier.

Across every operation the rules change only that entry, which also gains DefaultIamRoleArn and
RedshiftIdcApplicationArn as ARN rows that never match a cluster or snapshot, and CloudFront's
GetInvalidationForDistributionTenant, whose tenant is now filled from DistributionTenantId rather
than the invalidation's Id.

The handler's SnapshotArn check now resolves the partition through RegionResolver, as the
service's Region check does, so a Region outside the known partitions cannot make the two
disagree.
2026-11-12 23:34:54 -04:00
Murtuza Chhil 7c138ce3f1 fix(paymentcryptography): the list of keys answers with their summaries (#8135)
The model's KeySummary holds the identifier, the state, the attributes, the
check value and the two flags, and not the whole key. The list answered with
the whole key, so it carried the timestamps and the origin that a summary
does not hold.

The list answers with the summary now, and the whole key stays the answer of
the operation that names one key.

The control plane's answers are driven through a real SDK and through the AWS
CLI, so the wire format of the operations the summary fix touches is the one
the clients read.

The certificate of a key pair, a tag that is added and removed, a key pair
that keeps the usage its derived keys have, the RSA cryptogram the key
exchange serves, the key the two parties agreed, and the timestamps the
answers carry.

The page said the member was read and checked. Nothing reads it: the shape
check is what checks it, against the range the model states.

The page said each key in the list is the whole key rather than the summary the
model names, which the change that answers with the summary makes untrue. The
page says what a listed key carries now.

The round trip through the RSA cryptogram asserted the ARN of the key that
came in and the usage it was given, which a wrong key of the same usage would
also pass. It compares the check value with the exported key's, so the test
shows that the same key came back.

The key that came in was not added to the list the cleanup walks, so it was
left in the service when the class finished. It is added now.
2026-11-12 22:10:28 -04:00
Jackson Price c0ef5b2bfd fix(appsync): require a format for type updates (#8149) 2026-11-12 16:17:42 -04:00
jwoa95 5da8045bb2 fix(cognito): reject undeclared custom user attributes (#7994) (#8124) 2026-11-12 14:04:51 -04:00
jwoa95 df1d850d71 fix(rds): apply minor engine upgrades to backing databases (#8089)
Closes floci-io/floci#8007

Persist whether a standalone instance has never initialized its database. Protect engine versions before backend startup so runtime loss and proxy failures cannot expose existing storage to a metadata-only version change. Update SDK compatibility assertions to reject unsupported upgrades and verify resizing separately.

Apply supported minor upgrades using the version-specific image on the existing volume and endpoint. Keep major upgrades, downgrades, and pinned-image changes blocked before mutation. Preserve the never-started case, report failed restarts honestly, and restore successful minor-upgrade coverage in the Java SDK compatibility suite.
2026-11-12 09:37:43 -04:00
Jackson PriceandAndre Kurait 08d7ca5b4d fix(glue): preserve existing partitions on duplicate creation (#8100)
* fix(glue): preserve existing partitions on duplicate creation

Reject CreatePartition for values already stored in the table before
mutating partition metadata. Keep the existing BatchCreatePartition
error and allow explicit updates through UpdatePartition.

Port the independent duplicate check and regression from
AndreKurait/floci commit f6905c8ced6c21fd9aeca013beb4ac511e5c1469.
Add SDK coverage for single and batch creation, preserved metadata,
per-item batch errors, and subsequent explicit updates.

Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>

* fix(glue): serialize concurrent partition creation

Synchronize single and batch creates so duplicate detection and writes share
one service critical section. Cover all four concurrent single/batch combinations,
preserving the first metadata and per-item batch errors.

Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>

* test(glue): isolate catalog fixtures from Athena readers

Share the existing floci-duck resource lock with Athena and Firehose tests.
Their catalog setup must not read temporary Glue metadata whose S3 locations
are placeholders while the catalog test is running.

Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>

---------

Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <59149601+jprice8@users.noreply.github.com>
Co-authored-by: Andre Kurait <akurait@amazon.com>
2026-11-12 09:19:57 -04:00
Murtuza Chhil 77d73ee4b7 feat(paymentcryptography): the key exchange, with TR-31, RSA-OAEP and ECDH (#7862) 2026-11-12 08:59:48 -04:00
galsuchetzky-act f2a0bfce4e fix(bedrock-agentcore): use runtime IDs and endpoint names in ARNs (#8088)
* fix(bedrock-agentcore): use runtime IDs and endpoint names in ARNs

Keep runtime ARNs stable across versions and use the parent runtime ID and endpoint name for endpoint ARNs. Update API responses, ARN lookups, tagging dispatch and CloudFormation references together.

* fix(bedrock-agentcore): preserve legacy and harness runtime lookups
2026-11-12 08:17:29 -04:00
Jimmy Liu Jia d0d0e0eef8 fix(codedeploy): preserve deployment group creation tags (#8025) 2026-11-11 11:08:16 -04:00