github ministackorg/ministack v1.5.47

27 minutes ago

What's Changed

New Contributors

[1.5.47] — 2026-12-06

Added

  • Athena — REST-JSON requests — botocore 1.44.17 and later send Athena calls as REST-JSON routes, such as GET /workgroups, with no X-Amz-Target, and every call answered InvalidAction "Unknown Athena action: ". All 76 routes of the model are now read, and the JSON protocol keeps working for older SDKs. Reported by @DaviReisVieira.
  • Query protocol — JSON answers — a Query request whose Accept names application/json or text/json is answered in JSON: the result and ResponseMetadata under <Operation>Response, every output member present (null when absent), timestamps as epoch seconds, and errors as Error with Code, Message and Type plus RequestId, at the same status. application/*, */* and the x-amz-json types stay XML, and EC2 always answers XML. Reported by @mnylen.
  • Lambda — PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy — they write, read and clear the function's resource-based policy, the one GetPolicy and AddPermission use. PutResourcePolicy replaces the whole policy and refuses a stale RevisionId with PreconditionFailedException. Step Functions runs aws-sdk:lambda:getPolicy, getResourcePolicy and putResourcePolicy. Contributed by @jayjanssen.
  • RDS — RDS_HOST for a database you run — without Docker, an instance or cluster reported MINISTACK_HOST with nothing behind it. With RDS_HOST set, every instance, cluster, read replica and restored instance reports that host with its own Port, so clients connect to your database. It is ignored when Docker is available, and MiniStack only checks the port answers, logging a warning when it does not. Reported by @TheKerbycz.

Fixed

  • DynamoDB — table ARNs — a malformed ARN in TableName names the faulty part: "Invalid AWS partition", "Invalid vendor code", "Invalid AWS region", "Invalid resource type", "Invalid subscriber ID", or the table name constraint, in the batch, transaction and control-plane wording. A batch or transaction naming tables of two accounts answers "Invalid request! All tables in the request must be from a single account." CreateTable accepts an ARN, and ConsumedCapacity and batch Responses, UnprocessedKeys and UnprocessedItems keep the ARN the request used. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — UpdateExpression list indexes and paths — every clause now addresses the item as it was before the update: REMOVE l[0], l[2] removes the original elements, SET l[0] = l[1], l[1] = l[0] swaps them, and indexes past the end append in index order. Overlapping paths answer "Two document paths overlap with each other", a path through a value that is not a map or a list answers "The document path provided in the update expression is invalid for update", and an index above 2147483647 answers "List index is not within the allowable range". UPDATED_OLD and UPDATED_NEW return only the named elements, and are left out when none has a value. On a key with no item, an update of only REMOVE and DELETE stores nothing. DELETE with an operand that is not a set reports typeSet: ALLOWED_FOR_DELETE_OPERAND, and arithmetic keeps 38 digits. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — capacity, TTL and PartiQL — BatchGetItem returns ConsumedCapacity and refuses duplicate keys, more than 100 keys and a malformed ProjectionExpression. GetItem is charged per 4 KB read. UpdateTimeToLive refuses an unchanged setting, another attribute name while enabled, and a second change within an hour. UpdateItem sizes its SET and ADD values as given. PartiQL UPDATE supports if_not_exists, statements over 8,192 characters are refused, and a failed ExecuteTransaction statement is cancelled with ValidationError. ListStreams checks TableName. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — Query and Scan reads — a page ends on the item that crosses 1 MB, and that item is returned. Capacity is the bytes read, rounded to 4 KB once per page. An index read is sized by what the index holds, and a local secondary index read that fetches unprojected attributes charges each item to the table. A malformed ExclusiveStartKey answers "The provided starting key is invalid", and a Query key from another partition answers "The provided starting key is outside query boundaries based on provided conditions". Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — transactions — a reused ClientRequestToken is compared on the request's meaning, so numbers compare by value and a table ARN equals its name. A different request answers "Specified idempotent token was used with different request parameters within the idempotency window". TransactGetItems costs two reads per 4 KB of each item, INDEXES capacity carries a Table entry, and ItemCollectionMetrics lists one entry per write. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB Streams — shards, AT_TIMESTAMP and ListStreams — each stream has its own shard id, GetShardIterator supports AT_TIMESTAMP with AWS's timestamp checks, ListStreams lists earlier streams of a table newest first, and an unknown stream answers AWS's not-found messages. UpdateTable refuses to enable a stream that is already enabled. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — tags and resource policies — TagResource and CreateTable refuse a repeated key, more than 50 tags and a key starting aws: before looking for the table. A stored resource policy comes back compact with its keys in a fixed order, putting the same document again keeps its RevisionId, a policy over 20,480 bytes is a ValidationException, and a revision that does not match answers PolicyNotFoundException with the revision found. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — PartiQL index and table reads — on a KEYS_ONLY or INCLUDE index, an OR branch keyed on the index that filters on an unprojected attribute is read last and refused when the read reaches it, with "Secondary index ... does not project one or more filter attributes". Two branches on one index key answer "Overlapping conditions with range keys are not supported in where clause". Two or more OR pairs that each offer a different sort key value read the whole table. A page under Limit that fills keeps its NextToken, and only the first page of a whole-table read carries the cost of reaching the rows. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — SearchVectors conditions and capacity — SearchConditionExpression takes <>, the range operators, BETWEEN, IN, OR, NOT, attribute_exists and attribute_not_exists. A filter attribute compares numbers as doubles and the HASH attribute compares them exactly. A condition that leaves out the HASH attribute, uses it other than with =, or puts a range operator on a non-number attribute answers AWS's messages, as do other functions, more than 50 conditions, more than 300 operators, an IN of more than 100 values and bad BETWEEN bounds. VectorSearchRequestBytes counts each result's stored entry above a 1,024-byte floor, and GetItem bills a vector at four bytes per dimension. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — point-in-time recovery and restores — RestoreTableToPointInTime restores the items as they were at the requested time. The restorable window opens on the second PITR was enabled, a time outside it answers InvalidRestoreTimeException, a table without PITR answers PointInTimeRecoveryUnavailableException, and RestoreDateTime and UseLatestRestorableTime must be given one at a time. A restored table is CREATING for a moment with RestoreInProgress set, a second restore to it answers TableInUseException, and DeleteBackup of a backup still being restored answers BackupInUseException. DeleteBackup reports DELETED, and a missing table answers TableNotFoundException on the continuous-backup actions. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — adding a global secondary index — UpdateTable answers with the new index CREATING and the table UPDATING for a moment, during which reads of the index answer "The table does not have the specified index", creating it again answers ResourceInUseException, and DeleteTable is refused. More than one index create or delete in a call answers LimitExceededException, and a repeated attribute definition, a key schema not starting with HASH, a projection that contradicts NonKeyAttributes, throughput that does not match the billing mode, and an Update of a missing index answer AWS's messages. An item whose index key has another type than its definition is left out of the index. CloudFormation waits for the index as before. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — reads of an index that does not project everything — Query and Scan of such a global secondary index refuse Select ALL_ATTRIBUTES and a projection naming an unprojected attribute, and Query of a secondary index refuses a filter on an unprojected attribute. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — CreateTable and UpdateTable validation — a StreamViewType or SSEType outside its enum and more than 50 tags are reported ahead of missing throughput, which answers "One or more parameter values were invalid: ReadCapacityUnits and WriteCapacityUnits must both be specified when BillingMode is PROVISIONED". SSEType AES256 answers "One or more parameter values were invalid: SSEType AES256 is not supported", and an unknown TableClass answers "Invalid table-class parameter provided. Please try again with a valid table-class value: [STANDARD, STANDARD_INFREQUENT_ACCESS].", in UpdateTable ahead of the table lookup. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — DeleteTable answer — the returned description leaves out KeySchema, AttributeDefinitions, CreationDateTime and the secondary indexes. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — BatchWriteItem limits and item collections — more than 25 writes spread over tables that each stay within 25 answer "Too many items requested for the BatchWriteItem call". ItemCollectionMetrics lists one entry per item collection written, deletes included, under the name or ARN the request used, and is an empty map when no table has a local secondary index. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — legacy parameters — in Expected, NULL and NOT_NULL need no AttributeValueList, and NOT_CONTAINS fails when the attribute is missing. An AttributeUpdates of only DELETE actions on a key with no item stores nothing, and a value nested past 32 levels answers inside the validation envelope. UpdateItem reports a malformed ExpressionAttributeNames key first, with "ExpressionAttributeNames contains invalid key: Syntax error; key: """. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — nesting depth of UpdateItem expression values — a 32-level ExpressionAttributeValues entry is accepted in every region but me-central-1, following AWS's rollout. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — Kinesis streaming destinations — a missing table answers "Requested resource not found: Table: not found". Enabling a destination that is not DISABLED or ENABLE_FAILED, disabling one that is not ACTIVE, and updating one that was never enabled answer ValidationException with AWS's messages. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — exports and imports — an unknown ExportFormat answers the enum constraint, an ExportTime in the future or before the table existed answers InvalidExportTimeException "Export Time is invalid", and one before PITR was enabled answers "Point in Time Recovery is not available for specified export time". A reused ClientToken with other parameters answers ExportConflictException, and the not-found messages of DescribeExport and DescribeImport match AWS. Reported by @hicksy and the paritysuite.org project.
  • DynamoDB — another account's table ARN with AUTH=true — table operations on it, and item operations by that account's root without a resource policy granting them, answer AccessDeniedException "... because no resource-based policy allows the ... action", whether or not the table exists. Reported by @hicksy and the paritysuite.org project.
  • S3 — multipart checksum type — CreateMultipartUpload ignored x-amz-checksum-type, so every upload completed COMPOSITE. A FULL_OBJECT upload now completes with the checksum of the whole object, and CompleteMultipartUpload, HeadObject and GetObjectAttributes answer FULL_OBJECT. CRC64NVME defaults to FULL_OBJECT, and COMPOSITE with it answers InvalidRequest "The COMPOSITE checksum type cannot be used with the crc64nvme checksum algorithm." FULL_OBJECT with SHA1 or SHA256 answers "The FULL_OBJECT checksum type cannot be used with the sha256 checksum algorithm.", and a type without an algorithm "The x-amz-checksum-type header can only be used with the x-amz-checksum-algorithm header." A part whose checksum names another algorithm, or a COMPOSITE part with none, answers InvalidRequest "Checksum Type mismatch occurred, expected checksum Type: crc32, actual checksum Type: sha256" (null when none). A wrong object checksum on completion answers BadDigest "The crc32 you specified did not match the calculated checksum.", and GetObjectAttributes of a FULL_OBJECT object reports only TotalPartsCount under ObjectParts. Reported by @gaul.
  • S3 — ListParts checksums — an upload created without a checksum algorithm listed its parts' checksums, and one created with an algorithm sent no ChecksumAlgorithm or ChecksumType. Part checksums are now listed only for an upload with an algorithm, which ListParts names with its type. Reported by @gaul.
  • CloudFormation — nested stack update and unchanged resources — an update of a nested stack dropped the attributes of a resource it did not change, so a Fn::GetAtt on it failed and the root stack ended in UPDATE_ROLLBACK_FAILED. The attributes are now kept. Reported by @acabala.
  • CloudFormation — Ref of AWS::SecretsManager::Secret — Ref and PhysicalResourceId returned the secret's name. They now return its ARN, as DescribeSecret.ARN, so a policy with Resource: !Ref Secret matches the secret under AUTH=true. A stack created before keeps the name as its physical id and still updates and deletes. Contributed by @acabala.
  • IAM — aws:PrincipalIsAWSService on service deliveries — SNS to SQS, S3 to SQS or SNS, and EventBridge assuming a target role were checked without it, so a queue policy Deny with BoolIfExists "false" dropped the delivery. It is now true for these calls. Reported by @TheKerbycz.
  • SQS and SNS — queue and topic policy conditions — the second policy check had no request keys, so aws:PrincipalArn of a role session was the session ARN and sns:Protocol and sns:Endpoint were missing. The check now sees the caller and the request's keys. Reported by @TheKerbycz.
  • SNS — subscriptions in another account — GetSubscriptionAttributes, SetSubscriptionAttributes and Unsubscribe by the subscription owner needed the topic policy too. They now need only the owner's identity policy. A topic policy naming these actions answers InvalidParameter "Invalid parameter: Policy statement action out of service scope!", and statement IDs must be unique ("Invalid parameter: Every policy statement must have a unique ID"). Reported by @TheKerbycz.
  • Secrets Manager — CreateSecret with the same ClientRequestToken — a repeat answered ResourceExistsException, so an SDK retry failed. It now returns the secret, with the token as the first version's VersionId. A secret without a value has no version and returns no VersionId. The same token with another value answers ResourceExistsException "You can't use ClientRequestToken because that value is already in use for a version of secret ." PutSecretValue repeats the same way. Reported by @TheKerbycz.
  • CloudWatch Logs — PutResourcePolicy checks — Principal "*" answers InvalidParameterException "Principal '*' is not permitted for the Actions specified in the resource policy.", and policyName with resourceArn answers "Both policy name and resource arn cannot be specified at the same time."
  • Cognito — ChallengeParameters beside AuthenticationResult — InitiateAuth, AdminInitiateAuth, RespondToAuthChallenge and AdminRespondToAuthChallenge now send an empty ChallengeParameters with every AuthenticationResult.
  • Lambda — one request ID per invocation — context.aws_request_id and the START, END and REPORT lines had their own ID. They now use the RequestId that Invoke, InvokeWithResponseStream and a function URL answer, and async retries keep it. Contributed by @chincharjuin.
  • RDS — reboot event message — DescribeEvents reported DB instance restarted. It is now DB instance restarted. Contributed by @jayjanssen.
  • SSM — GetParametersByPath on / and names without a leading slash — a parameter whose name has no leading slash, such as my-param, was left out of GetParametersByPath with Path /. It is now listed as a root-level parameter, with Recursive true or false. A root-level name is kept without its leading slash, so /my-param and my-param are one parameter named my-param: GetParametersByPath, DescribeParameters, GetParameterHistory and DeleteParameters return my-param, GetParameter and GetParameters echo the spelling requested, and PutParameter with Overwrite through either spelling updates it. A name with a slash but no leading slash, such as app/key, answers ValidationException Parameter name must be a fully qualified name. Contributed by @ThiagoCampos-OS.
  • SSM — GetParameters authorization — with AUTH=true, GetParameters was checked against *, so a policy scoped to parameter ARNs denied it. It is now checked against each name in Names, in request order, before any is looked up. The first name the policy does not allow is the resource of the AccessDeniedException, whether or not the parameter exists. Contributed by @acabala.
  • Secrets Manager — first version with a custom staging label — PutSecretValue on a secret created without a value, with VersionStages naming a custom label only, gave the new version that label alone, so the secret had no AWSCURRENT and GetSecretValue answered ResourceNotFoundException. The first version of a secret now gets AWSCURRENT as well. Later versions keep only the labels they name. An empty VersionStages list is refused with ValidationException instead of storing a version with no label. Contributed by @kharabasz.
  • Step Functions — events:putEvents and the execution role — with AUTH=true, a Task using arn:aws:states:::events:putEvents put the event even when the state machine's role denied events:PutEvents. The task now fails with EventBridge.AmazonEventBridgeException and EventBridge's AccessDeniedException as the cause, and the execution ends FAILED. Contributed by @kharabasz.
  • EventBridge — API destination retries and dead-letter queue — a failed call was logged and the event dropped. A timeout, 409, 429 or 5xx is now retried with doubling backoff within the target's RetryPolicy, then the event goes to its DeadLetterConfig queue with ERROR_CODE UNKNOWN, EXHAUSTED_RETRY_CONDITION and RETRY_ATTEMPTS. A 400 goes there at once with INVALID_PARAMETER, and any other status, a 401 on an API key or basic connection, or an inactive destination with SDK_CLIENT_ERROR. Reported by @hchan-varicent.
  • ELBv2 — listener rule url-rewrite transform — the transform was stored and returned by DescribeRules, but the target got the path the client sent. A forward action now sends the rewritten URL: the regex runs on the path and query string together, and $1 in Replace names a capture group. Regex spellings Python lacks rewrite as on AWS: (?<name>...), \z, \x{61}, inline flags mid-pattern ((?i) and (?U) for lazy quantifiers), stacked quantifiers such as a**, and POSIX classes including [[:^alpha:]]. Contributed by @kharabasz.
  • ECS — container entryPoint — a container definition's entryPoint was ignored, so the image's own entry point got the command. A task with entryPoint ["/bin/sh", "-c"] and a script as its command stopped with TaskFailedToStart. The container now runs the definition's entry point with the command as its arguments, and the task stops with the script's exit code. Contributed by @kharabasz.
  • ELBv2 — network load balancer interfaces — a network load balancer had no network interfaces, and DescribeNetworkInterfaces ignored Filter. CreateLoadBalancer with Type network now creates one in-use interface per subnet, with Description ELB net/<name>/<id>, an address in the subnet and the load balancer's security groups, and DeleteLoadBalancer removes them. A CloudFormation network load balancer gets them too, with a net/ ARN. The interfaces are requester-managed with an ela-attach- attachment: DeleteNetworkInterface answers InvalidParameterValue "Network interface '' is currently in use.", DetachNetworkInterface answers OperationNotPermitted "You are not allowed to manage 'ela-attach' attachments.", and DeleteSubnet of a subnet holding an interface answers DependencyViolation "The subnet '' has dependencies and cannot be deleted." DescribeNetworkInterfaces applies the description and subnet-id filters. Contributed by @kharabasz.

Don't miss a new ministack release

NewReleases is sending notifications on new releases.