Skip to content

Conversation

@AndrewAsseily
Copy link
Contributor

@AndrewAsseily AndrewAsseily commented Jan 26, 2026

Issue #, if available: N/A

Description of changes: Simplifies the hint message shown when enhanced error format encounters complex nested structures. Also rebased on v2.

  • Before: FieldName: <complex value> (Use --cli-error-format with json or yaml to see full details)

  • After: FieldName: <complex value>, --cli-error-format json recommended for full details

The new message frames json as a recommendation rather than implying it's the only way to see the data. Enhanced mode prioritizes readability for interactive use and still shows more than what users get today.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

elysahall and others added 30 commits November 17, 2025 19:54
This fix addresses failures encountered on some systems when running the
startlivetail unit tests through the AWS CLI test runner script at
`scripts/ci/run-tests`. According to prompt toolkit documentation:

> During the creation of a prompt_toolkit Application, we can specify
> what input and output device to be used. By default, these are output
> objects that correspond with sys.stdin and sys.stdout. In unit tests
> however, we want to replace these.
> - For the input, we want a “pipe input”. This is an input device,
> in which we can programmatically send some input. It can be created
> with create_pipe_input(), and that return either a PosixPipeInput or a
> Win32PipeInput depending on the platform.

Reference: https://python-prompt-toolkit.readthedocs.io/en/stable/pages/advanced_topics/unit_testing.html

This change adds an optional `app_input`` parameter so that the test can
be run with `create_pipe_input()` to replace the input for unit testing.
…zonaws.com) as endpoint-url (aws#9850)

docs: add caution note for S3 endpoint-url parameter

Add note to S3 configuration documentation warning users about potential
unintended behavior when using --endpoint-url parameter, including S3
redirect issues.

This was prompted by setting the global S3 endpoint
(s3.amazonaws.com) as a custom endpoint URL caused PermanentRedirect
errors, redirect loops, and configuration confusion. While the guidance
is generalized to cover broader endpoint configuration concerns, it
specifically advises against using the global S3 endpoint as an
endpoint-url parameter value.

Addresses aws#9479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.