public Optional<AuthorizerDefinition> getAuthorizerValue(ToShapeId service, ToShapeId shape) {
        return getAuthorizer(service, shape)
                .flatMap(name -> Optional.ofNullable(authorizerTraits.get(service.toShapeId()))
                        .flatMap(trait -> trait.getAuthorizer(name)));
    }
Gets the effective authorizer structure value of a shape in a service.

@param service Service shape to query.
@param shape Shape to get the authorizer of within the service.
@return Returns the optionally resolved authorizer name.
smithy-aws-apigateway-traits/src/main/java/software/amazon/smithy/aws/apigateway/traits/AuthorizerIndex.java