@Override
        public Trait createTrait(ShapeId target, Node value) {
            ObjectNode objectNode = value.expectObjectNode();
            CognitoUserPoolsTrait result = builder()
                    .sourceLocation(value)
                    .providerArns(objectNode.expectArrayMember(PROVIDER_ARNS).getElementsAs(StringNode::getValue))
                    .build();
            result.setNodeCache(objectNode);
            return result;
        }
Configures an Amazon Cognito User Pools auth scheme.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/auth/CognitoUserPoolsTrait.java