Skip to content

ResourceOperationInputOutput errors if a nested resource only has a list operation #2968

@tlindsay42

Description

@tlindsay42

Consistently getting the following error for all resource properties when I attempt to create a nested resource with only a list operation that references all of the nested resource properties in a structure used by a list. If I add a get operation referencing the resource properties in an output structure, the errors clear.

──  ERROR  ──────────────────────────────────────── ResourceOperationInputOutput
Shape: com.example#NamespaceTaskResource
File:  [redacted]/model/namespace/task/namespace-task.smithy:8:1

7| @since("2025-10-09")
8| resource NamespaceTaskResource {
 | ^

Resource property `Name` is not used in the input or output of create or an
instance operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions